mirror of
https://github.com/github/semantic.git
synced 2024-12-19 04:41:47 +03:00
Assign comments at the end of branches.
This commit is contained in:
parent
a2ced02795
commit
51638833df
@ -470,7 +470,7 @@ conditionalExpression :: Assignment
|
||||
conditionalExpression = makeTerm <$> symbol ConditionalExpression <*> children (flip Statement.If <$> expression <*> expression <*> expressions)
|
||||
|
||||
term :: Assignment -> Assignment
|
||||
term = contextualize comment
|
||||
term term = contextualize comment term <|> comment <* eof
|
||||
|
||||
infixTerm :: HasCallStack
|
||||
=> Assignment
|
||||
|
Loading…
Reference in New Issue
Block a user