mirror of
https://github.com/github/semantic.git
synced 2024-12-22 22:31:36 +03:00
Order matters here - fix parse-examples
This commit is contained in:
parent
a29af60bf2
commit
7b54a26859
@ -307,7 +307,7 @@ methodCall = makeTerm' <$> symbol MethodCall <*> children (require <|> load <|>
|
|||||||
nameExpression = (symbol ArgumentList <|> symbol ArgumentListWithParens) *> children expression
|
nameExpression = (symbol ArgumentList <|> symbol ArgumentListWithParens) *> children expression
|
||||||
|
|
||||||
call :: Assignment
|
call :: Assignment
|
||||||
call = makeTerm <$> symbol Call <*> children (Expression.MemberAccess <$> expression <*> (expressions <|> args))
|
call = makeTerm <$> symbol Call <*> children (Expression.MemberAccess <$> expression <*> (args <|> expressions))
|
||||||
where
|
where
|
||||||
args = (symbol ArgumentList <|> symbol ArgumentListWithParens) *> children expressions
|
args = (symbol ArgumentList <|> symbol ArgumentListWithParens) *> children expressions
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user