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:
parent
24365e8b82
commit
ca2fae08a2
3 changed files with 41 additions and 5 deletions
|
|
@ -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)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue