summaryrefslogtreecommitdiffstats
path: root/tests/cyclic_messages
diff options
context:
space:
mode:
authorPetteri Aimonen <jpa@git.mail.kapsi.fi>2015-09-20 14:12:19 +0300
committerPetteri Aimonen <jpa@git.mail.kapsi.fi>2015-09-20 14:29:39 +0300
commitb03be4fa4d863e6beb362cfef6d834d14c96b7e1 (patch)
tree31bdb84f1be4ce5104d4a67d3e5c321f12639b83 /tests/cyclic_messages
parent6e72df4808aa138f1396ad098ce2d06a6feba882 (diff)
Add syntax specification to .proto files (issue #167)
Eliminates a warning on protoc 3.0.
Diffstat (limited to 'tests/cyclic_messages')
-rw-r--r--tests/cyclic_messages/cyclic.proto2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/cyclic_messages/cyclic.proto b/tests/cyclic_messages/cyclic.proto
index a9d158cb..8cab0b14 100644
--- a/tests/cyclic_messages/cyclic.proto
+++ b/tests/cyclic_messages/cyclic.proto
@@ -2,6 +2,8 @@
// These can only be handled in pointer/callback mode,
// see associated .options files.
+syntax = "proto2";
+
message TreeNode
{
optional int32 leaf = 1;