Disambiguate syndicate.ohm properly

This commit is contained in:
Tony Garnock-Jones 2016-05-19 13:12:16 -04:00
parent 4c1d6814d9
commit 02d73f44fa
1 changed files with 2 additions and 2 deletions

View File

@ -16,8 +16,8 @@ Syndicate <: ES5 {
FunctionBodyBlock = "{" FunctionBody "}" // odd that this isn't in es5.ohm somewhere
ActorStatement
= actor CallExpression (named Expression<withIn>)? FunctionBodyBlock -- withConstructor
| actor (named Expression<withIn>)? FunctionBodyBlock -- noConstructor
= actor ~named CallExpression (named Expression<withIn>)? FunctionBodyBlock -- withConstructor
| actor (named Expression<withIn>)? FunctionBodyBlock -- noConstructor
DataspaceStatement
= ground dataspace identifier? FunctionBodyBlock -- ground