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:
parent
e85e84371e
commit
530179f833
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user