-
- Downloads
Add tests for EscapeString utilities
Actually fixed a few issues and make functions escapeString() and unescapeString() reciprocal. This later change leads to a grammar change, now literal do not store quotes: before `"foo"` was stored as the string "\"foo\"", now it is just stored as "foo".
Showing
- src/language/PEGGrammar.hpp 4 additions, 2 deletionssrc/language/PEGGrammar.hpp
- src/language/utils/ASTPrinter.cpp 3 additions, 2 deletionssrc/language/utils/ASTPrinter.cpp
- src/utils/EscapedString.hpp 7 additions, 2 deletionssrc/utils/EscapedString.hpp
- tests/CMakeLists.txt 1 addition, 0 deletionstests/CMakeLists.txt
- tests/test_EscapedString.cpp 27 additions, 0 deletionstests/test_EscapedString.cpp
Loading
Please register or sign in to comment