Skip to content

Commit

Permalink
Minor whitespace edits.
Browse files Browse the repository at this point in the history
  • Loading branch information
alanz committed Apr 17, 2012
1 parent 01fe149 commit a220539
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Language/JavaScript/Parser/Grammar5.y
Expand Up @@ -516,7 +516,7 @@ MemberExpression : PrimaryExpression { [$1] {- MemberExpression -}}
-- MemberExpression
-- new NewExpression
NewExpression :: { [AST.JSNode] }
NewExpression : MemberExpression {$1 {- NewExpression -}}
NewExpression : MemberExpression { $1 {- NewExpression -}}
| 'new' NewExpression { (fp (AST.NT (AST.JSLiteral "new") (ss $1) (gc $1))):$2 }

-- CallExpression : See 11.2
Expand Down Expand Up @@ -1082,7 +1082,7 @@ IdentifierOpt : Identifier { [$1] {- IdentifierOpt -}}
-- Identifier
-- FormalParameterList , Identifier
FormalParameterList :: { [AST.JSNode] }
FormalParameterList : Identifier { [$1] {- FormalParameterList -}}
FormalParameterList : Identifier { [$1] {- FormalParameterList -}}
| FormalParameterList Comma Identifier { ($1++[$2]++[$3]) }

-- FunctionBody : See clause 13
Expand Down

0 comments on commit a220539

Please sign in to comment.