We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d9b8d72 commit 72088a4Copy full SHA for 72088a4
protobuf/protobuf2/Protobuf2.g4
@@ -132,7 +132,7 @@ type_
132
// Extensions
133
134
extensions
135
- : EXTENSIONS ranges (LB (verificationDef | declarationsDef) RB)? SEMI
+ : EXTENSIONS ranges (LB (verificationDef | declarations) RB)? SEMI
136
;
137
138
verificationDef
@@ -144,16 +144,12 @@ verification
144
| UNVERIFIED_LIT
145
146
147
-declarationsDef
148
- : declarationDef (COMMA declarationDef)*
149
- ;
150
-
151
-declarationDef
152
- : DECLARATION EQ LC (declaration (declaration)*)? RC
+declarations
+ : declaration (COMMA declaration)*
153
154
155
declaration
156
- : fieldName COLON constant (COMMA)?
+ : DECLARATION EQ blockLit
157
158
159
// Reserved
0 commit comments