diff options
author | Petteri Aimonen <jpa@git.mail.kapsi.fi> | 2015-09-20 14:12:19 +0300 |
---|---|---|
committer | Petteri Aimonen <jpa@git.mail.kapsi.fi> | 2015-09-20 14:29:39 +0300 |
commit | b03be4fa4d863e6beb362cfef6d834d14c96b7e1 (patch) | |
tree | 31bdb84f1be4ce5104d4a67d3e5c321f12639b83 /tests/field_size_32 | |
parent | 6e72df4808aa138f1396ad098ce2d06a6feba882 (diff) |
Add syntax specification to .proto files (issue #167)
Eliminates a warning on protoc 3.0.
Diffstat (limited to 'tests/field_size_32')
-rw-r--r-- | tests/field_size_32/alltypes.proto | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/field_size_32/alltypes.proto b/tests/field_size_32/alltypes.proto index 5749e0d4..02ee1a6a 100644 --- a/tests/field_size_32/alltypes.proto +++ b/tests/field_size_32/alltypes.proto @@ -1,3 +1,5 @@ +syntax = "proto2"; + message SubMessage { required string substuff1 = 1 [default = "1"]; required int32 substuff2 = 2 [default = 2]; |