@end
/* }}} */
/* Token Priorities {{{ */
-%nonassoc ""
-%left "{"
-
%nonassoc "if"
%nonassoc "else"
/* }}} */
;
UnaryExpression
- : %prec "" PostfixExpression LexOpenBrace { $$ = $1; }
+ : PostfixExpression LexOpenBrace { $$ = $1; }
| LexSetRegExp UnaryExpression_ { $$ = $2; }
;
/* }}} */
;
ClassHeritage
- : "extends" LeftHandSideExpression { $$ = CYNew CYClassTail($2); }
+ : "extends" AccessExpression { $$ = CYNew CYClassTail($2); }
;
ClassHeritageOpt