Skip to content

Commit

Permalink
[wgsl] Fix definition of const_expr (gpuweb#818)
Browse files Browse the repository at this point in the history
This CL updates the const_expr to use the proper * instead of ?.

Fixes gpuweb#800
  • Loading branch information
dj2 committed Jun 1, 2020
1 parent 01b20b4 commit 2b6305a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wgsl/index.bs
Expand Up @@ -1392,7 +1392,7 @@ const_literal
| FALSE

const_expr
: type_decl PAREN_LEFT (const_expr COMMA)? const_expr PAREN_RIGHT
: type_decl PAREN_LEFT (const_expr COMMA)* const_expr PAREN_RIGHT
| const_literal
</pre>

Expand Down

0 comments on commit 2b6305a

Please sign in to comment.