mirror of
https://github.com/github/semantic.git
synced 2025-01-03 13:02:37 +03:00
Need term around second expression in binaryExpression
This commit is contained in:
parent
8c0c5cc792
commit
73369fc4bb
@ -762,7 +762,7 @@ tryStatement = makeTry <$> symbol TryStatement <*> children ((,,) <$> term state
|
||||
finallyClause = makeTerm <$> symbol FinallyClause <*> children (Statement.Finally <$> statementBlock)
|
||||
|
||||
binaryExpression :: Assignment
|
||||
binaryExpression = makeTerm' <$> symbol BinaryExpression <*> children (infixTerm expression expression
|
||||
binaryExpression = makeTerm' <$> symbol BinaryExpression <*> children (infixTerm expression (term expression)
|
||||
[ (inj .) . Expression.Plus <$ symbol AnonPlus
|
||||
, (inj .) . Expression.Minus <$ symbol AnonMinus
|
||||
, (inj .) . Expression.Times <$ symbol AnonStar
|
||||
|
Loading…
Reference in New Issue
Block a user