1
1
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:
joshvera 2017-11-02 17:51:03 -04:00
parent 8c0c5cc792
commit 73369fc4bb

View File

@ -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