Skip to content

Commit

Permalink
Variable declarations can have empty array bounds, like "float x[] = …
Browse files Browse the repository at this point in the history
…{a,b,c};"
  • Loading branch information
icculus committed Aug 26, 2009
1 parent ad30ea6 commit 26b0258
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mojoshader_parser_hlsl.lemon
Expand Up @@ -196,6 +196,7 @@ variable_lowlevel ::= packoffset register.
variable_lowlevel ::= packoffset.
variable_lowlevel ::= register.

scalar_or_array ::= identifier LBRACKET RBRACKET.
scalar_or_array ::= identifier LBRACKET expression RBRACKET.
scalar_or_array ::= identifier.

Expand Down

0 comments on commit 26b0258

Please sign in to comment.