Bugfix/escaped character parsing (#32)

So as it turns out there's a nasty little piece of code in rapidjson's
source which breaks the preprocessor and will leave things a little bit
weird.

The test "preprocessor_parses_escaped_character" should prove
its validity.
This commit is contained in:
Zsolt Erhardt 2018-01-22 11:18:38 +01:00 committed by Jonathan Müller
commit ca2fae08a2
3 changed files with 41 additions and 5 deletions

View file

@ -31,10 +31,12 @@ set(tests
integration.cpp
libclang_parser.cpp
parser.cpp
preprocessor.cpp
visitor.cpp)
add_executable(cppast_test test.cpp test_parser.hpp ${tests})
target_include_directories(cppast_test PUBLIC ${CMAKE_CURRENT_BINARY_DIR})
target_include_directories(cppast_test PRIVATE ${CMAKE_CURRENT_LIST_DIR}/../src)
target_link_libraries(cppast_test PUBLIC cppast)
set_target_properties(cppast_test PROPERTIES CXX_STANDARD 11)