Code Review
/
apps
/
agl-service-can-low-level.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
Fix multiple oneofs in same message (issue #229)
[apps/agl-service-can-low-level.git]
/
tests
/
options
/
options.proto
diff --git
a/tests/options/options.proto
b/tests/options/options.proto
index
aa722b5
..
89bb086
100644
(file)
--- a/
tests/options/options.proto
+++ b/
tests/options/options.proto
@@
-89,3
+89,9
@@
message OneofMessage
}
}
+// Proto3-style optional field in proto2 file
+message Proto3Field
+{
+ optional int32 proto3field = 1 [(nanopb).proto3 = true];
+}
+