1
1
mirror of https://github.com/github/semantic.git synced 2024-12-19 04:41:47 +03:00

🔥 discarding comments in conditionalExpression.

This commit is contained in:
Rob Rix 2017-08-14 12:34:58 -04:00
parent e85e84371e
commit 530179f833

View File

@ -473,7 +473,7 @@ ifClause = symbol IfClause *> children expressions
conditionalExpression :: Assignment
conditionalExpression = makeTerm <$> symbol ConditionalExpression <*> children (
expression >>= \ thenBranch ->
many comment >> expression >>= \ conditional ->
expression >>= \ conditional ->
Statement.If conditional thenBranch <$> expressions)
term :: Assignment -> Assignment