Fixed --keep-prefix functionality.
Changing to keep include prefixes had two side effects: the main file being parsed wasn't filtered out anymore, and include directory paths would be added to the path in the include statement. Also moved the include_test*.fbs files to sub directories so we can actually test the handling of -I etc. tested: on Linux. Change-Id: Ibae095cea7ab0cccbac15cfb5171719f6b5cad8c
Showing
- CMakeLists.txt 1 addition, 0 deletionsCMakeLists.txt
- appveyor.yml 1 addition, 1 deletionappveyor.yml
- include/flatbuffers/idl.h 2 additions, 1 deletioninclude/flatbuffers/idl.h
- src/idl_gen_cpp.cpp 4 additions, 4 deletionssrc/idl_gen_cpp.cpp
- src/idl_parser.cpp 10 additions, 7 deletionssrc/idl_parser.cpp
- tests/GoTest.sh 1 addition, 1 deletiontests/GoTest.sh
- tests/JavaScriptTest.sh 1 addition, 1 deletiontests/JavaScriptTest.sh
- tests/PythonTest.sh 1 addition, 1 deletiontests/PythonTest.sh
- tests/TypeScriptTest.sh 2 additions, 2 deletionstests/TypeScriptTest.sh
- tests/generate_code.bat 2 additions, 2 deletionstests/generate_code.bat
- tests/generate_code.sh 2 additions, 3 deletionstests/generate_code.sh
- tests/include_test/include_test1.fbs 5 additions, 0 deletionstests/include_test/include_test1.fbs
- tests/include_test/sub/include_test2.fbs 1 addition, 1 deletiontests/include_test/sub/include_test2.fbs
- tests/test.cpp 5 additions, 1 deletiontests/test.cpp
Loading
Please register or sign in to comment