mirror of
https://github.com/github/semantic.git
synced 2025-01-03 04:51:57 +03:00
Assign ||=.
This commit is contained in:
parent
4b01c83fe3
commit
d215d0b597
@ -89,7 +89,8 @@ statement = exit Statement.Return Return
|
|||||||
<|> symbol AnonMinusEqual *> term <*> (Expression.Minus var <$> expression)
|
<|> symbol AnonMinusEqual *> term <*> (Expression.Minus var <$> expression)
|
||||||
<|> symbol AnonStarEqual *> term <*> (Expression.Times var <$> expression)
|
<|> symbol AnonStarEqual *> term <*> (Expression.Times var <$> expression)
|
||||||
<|> symbol AnonStarStarEqual *> term <*> (Expression.Power var <$> expression)
|
<|> symbol AnonStarStarEqual *> term <*> (Expression.Power var <$> expression)
|
||||||
<|> symbol AnonSlashEqual *> term <*> (Expression.DividedBy var <$> expression)))
|
<|> symbol AnonSlashEqual *> term <*> (Expression.DividedBy var <$> expression)
|
||||||
|
<|> symbol AnonPipePipeEqual *> term <*> (Expression.And var <$> expression)))
|
||||||
where exit construct sym = symbol sym *> term <*> children (construct <$> optional (symbol ArgumentList *> children statement))
|
where exit construct sym = symbol sym *> term <*> children (construct <$> optional (symbol ArgumentList *> children statement))
|
||||||
|
|
||||||
lvalue :: Assignment (Node Grammar) (Term Syntax Location)
|
lvalue :: Assignment (Node Grammar) (Term Syntax Location)
|
||||||
|
Loading…
Reference in New Issue
Block a user