Fix Sc rule

db4
Chris Double 2008-06-18 12:16:47 +12:00
parent 7694dfd688
commit 778573106c
1 changed files with 1 additions and 1 deletions

View File

@ -176,7 +176,7 @@ JsonPropName = Name | Number | String
Formal = Spaces Name
Formals = (Formal ("," Formal => [[ second ]])* => [[ first2 swap prefix ]])?
FuncRest = "(" Formals:fs ")" "{" SrcElems:body "}" => [[ fs body ast-func boa ]]
Sc = SpacesNoNl ("\n" | "}")| ";"
Sc = SpacesNoNl ("\n" | &("}"))| ";"
Binding = Name:n "=" Expr:v => [[ n v ast-var boa ]]
| Name:n => [[ n "undefined" ast-get boa ast-var boa ]]
Block = "{" SrcElems:ss "}" => [[ ss ]]