Newlines disabled inside () and [], enabled inside {}
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
if
|
||||
: "if" "(" expression ")" expression ("else" expression)?
|
||||
: "if" "(" expression ")" expression SEMI? ("else" expression)?
|
||||
;
|
||||
|
||||
try
|
||||
|
||||
@@ -211,7 +211,7 @@ functionLiteral // one can use "it" as a parameter name
|
||||
;
|
||||
|
||||
expressions
|
||||
: expression{SEMI} SEMI?
|
||||
: SEMI* expression{SEMI+} SEMI*
|
||||
;
|
||||
|
||||
constructorInvocation
|
||||
|
||||
Reference in New Issue
Block a user