mirror of
https://github.com/google/flatbuffers.git
synced 2026-07-03 01:12:26 +00:00
Added support for imports and many other .proto features.
Change-Id: I6600021b7ec8c486794349511232c3e604421c5b Tested: on Linux.
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
// Sample .proto file that we can translate to the corresponding .fbs.
|
||||
|
||||
package proto.test;
|
||||
|
||||
option some_option = is_ignored;
|
||||
import "some_other_schema.proto";
|
||||
import "imported.proto";
|
||||
|
||||
package proto.test;
|
||||
|
||||
/// Enum doc comment.
|
||||
enum ProtoEnum {
|
||||
@@ -41,4 +41,5 @@ message ProtoMessage {
|
||||
optional bytes m = 11;
|
||||
optional OtherMessage n = 12;
|
||||
repeated string o = 14;
|
||||
optional ImportedMessage z = 16;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user