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 f44f637 commit 39a8048Copy full SHA for 39a8048
standard/unsafe-code.md
@@ -863,7 +863,7 @@ Fixed-size buffers are only permitted in struct declarations and may only occur
863
```ANTLR
864
fixed_size_buffer_declaration
865
: attributes? fixed_size_buffer_modifier* 'fixed' buffer_element_type
866
- fixed_size_buffer_declarator+ ';'
+ fixed_size_buffer_declarators ';'
867
;
868
869
fixed_size_buffer_modifier
@@ -879,6 +879,10 @@ buffer_element_type
879
: type
880
881
882
+fixed_size_buffer_declarators
883
+ : fixed_size_buffer_declarator (',' fixed_size_buffer_declarator)*
884
+ ;
885
+
886
fixed_size_buffer_declarator
887
: identifier '[' constant_expression ']'
888
0 commit comments