Fixed incorrect verifier code for nested tables.
It was outputting the type instead of the field name, and didn't deal with NULL fields. Added test case. Also fixed token enums having the wrong value, resulting in unreadable error messages. Change-Id: Icd9b4d22f417bfad5824c0f58e067ce3f2e2dc6f Tested: on Windows and Linux.
Showing
- include/flatbuffers/flatbuffers.h 5 additions, 0 deletionsinclude/flatbuffers/flatbuffers.h
- src/idl_gen_cpp.cpp 4 additions, 4 deletionssrc/idl_gen_cpp.cpp
- src/idl_parser.cpp 1 addition, 1 deletionsrc/idl_parser.cpp
- tests/MyGame/Example/Monster.java 4 additions, 1 deletiontests/MyGame/Example/Monster.java
- tests/monster_test.fbs 1 addition, 0 deletionstests/monster_test.fbs
- tests/monster_test_generated.h 9 additions, 4 deletionstests/monster_test_generated.h
- tests/monsterdata_test_wire.bin 0 additions, 0 deletionstests/monsterdata_test_wire.bin
- tests/test.cpp 1 addition, 1 deletiontests/test.cpp
Loading
Please register or sign in to comment