Fix operator precedence of '.' operator in js grammar
This commit is contained in:
parent
3cd031af38
commit
082560dd6e
5 changed files with 198 additions and 184 deletions
|
|
@ -100,6 +100,7 @@ parses indented code after blocks
|
|||
(expression_statement
|
||||
(function_expression (identifier) (formal_parameters) (statement_block)))
|
||||
(return_statement (identifier)))
|
||||
|
||||
===========================================
|
||||
parses switch statements
|
||||
===========================================
|
||||
|
|
@ -126,3 +127,4 @@ switch(x) {
|
|||
(break_statement))
|
||||
(switch_case
|
||||
(expression_statement (function_call (identifier) (string))))))
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue