Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Added HLSL constructor to the grammar.
  • Loading branch information
icculus committed Mar 7, 2009
1 parent 54d48ab commit ff9fff2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mojoshader_parser_hlsl.lemon
Expand Up @@ -459,6 +459,7 @@ postfix_expr ::= primary_expr.
postfix_expr ::= postfix_expr LBRACKET expression RBRACKET.
postfix_expr ::= postfix_expr LPAREN RPAREN.
postfix_expr ::= postfix_expr LPAREN argument_expr_list RPAREN.
postfix_expr ::= datatype LPAREN argument_expr_list RPAREN. // HLSL constructor
postfix_expr ::= postfix_expr DOT identifier.
postfix_expr ::= postfix_expr PLUSPLUS.
postfix_expr ::= postfix_expr MINUSMINUS.
Expand Down

0 comments on commit ff9fff2

Please sign in to comment.