mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-30 19:30:01 +00:00
Made .proto parsing understand nested declarations.
Bug: 24401812 Change-Id: I196a03b8c5ef0bcd3c26178239c764e40ca1950d Tested: on Linux.
This commit is contained in:
@@ -9,12 +9,6 @@ enum ProtoEnum : short {
|
||||
BAR = 5,
|
||||
}
|
||||
|
||||
table OtherMessage {
|
||||
a:double;
|
||||
/// doc comment for b.
|
||||
b:float = 3.14149;
|
||||
}
|
||||
|
||||
/// 2nd table doc comment with
|
||||
/// many lines.
|
||||
table ProtoMessage {
|
||||
@@ -39,3 +33,9 @@ table ProtoMessage {
|
||||
o:[string];
|
||||
}
|
||||
|
||||
table OtherMessage {
|
||||
a:double;
|
||||
/// doc comment for b.
|
||||
b:float = 3.14149;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user