Generate appropriate schema doc comments from .proto files
- Add parse handling of .proto struct and field doc comments (enums and their values were already handled) - Add FBS generation handling of doc comments for structs, their fields, enums, and their values (requires linking idl_gen_general in the test binary build) - Tested using test.proto|golden with doc comments added. Xcode run of flattest passes. Change-Id: Idff64dd8064afba227174ab77d2c7be22d006628
Showing
- CMakeLists.txt 1 addition, 0 deletionsCMakeLists.txt
- build/VS2010/flattests.vcxproj 2 additions, 1 deletionbuild/VS2010/flattests.vcxproj
- build/Xcode/FlatBuffers.xcodeproj/project.pbxproj 2 additions, 0 deletionsbuild/Xcode/FlatBuffers.xcodeproj/project.pbxproj
- src/idl_gen_fbs.cpp 4 additions, 0 deletionssrc/idl_gen_fbs.cpp
- src/idl_parser.cpp 4 additions, 0 deletionssrc/idl_parser.cpp
- tests/prototest/test.golden 9 additions, 0 deletionstests/prototest/test.golden
- tests/prototest/test.proto 10 additions, 0 deletionstests/prototest/test.proto
Loading
Please register or sign in to comment