mirror of
https://github.com/github/semantic.git
synced 2024-11-28 10:15:55 +03:00
Assign multiple expressions wthin communication clauses
This commit is contained in:
parent
af63537d36
commit
ee26a95330
@ -625,7 +625,7 @@ selectStatement :: Assignment
|
||||
selectStatement = makeTerm <$> symbol SelectStatement <*> children (Go.Syntax.Select <$> expressions)
|
||||
|
||||
communicationClause :: Assignment
|
||||
communicationClause = makeTerm <$> symbol CommunicationClause <*> children (Statement.Pattern <$> (communicationCase <|> defaultCase) <*> (expression <|> emptyTerm))
|
||||
communicationClause = makeTerm <$> symbol CommunicationClause <*> children (Statement.Pattern <$> (communicationCase <|> defaultCase) <*> (expressions <|> emptyTerm))
|
||||
where
|
||||
communicationCase = symbol CommunicationCase *> children expression
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user