summaryrefslogtreecommitdiffstats
path: root/examples/simple/simple.proto
diff options
context:
space:
mode:
Diffstat (limited to 'examples/simple/simple.proto')
-rw-r--r--examples/simple/simple.proto2
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/simple/simple.proto b/examples/simple/simple.proto
index 26e72f46..5c73a3b2 100644
--- a/examples/simple/simple.proto
+++ b/examples/simple/simple.proto
@@ -1,6 +1,8 @@
// A very simple protocol definition, consisting of only
// one message.
+syntax = "proto2";
+
message SimpleMessage {
required int32 lucky_number = 1;
}