mirror of
https://github.com/github/semantic.git
synced 2024-12-20 21:31:48 +03:00
Try to take some source for EmptyStatement
This commit is contained in:
parent
2880052c15
commit
19eb8f2706
@ -382,7 +382,7 @@ conditional :: Assignment
|
||||
conditional = makeTerm <$> symbol Conditional <*> children (Statement.If <$> statement <*> statement <*> statement)
|
||||
|
||||
emptyStatement :: Assignment
|
||||
emptyStatement = makeTerm <$> symbol EmptyStatement <*> pure Syntax.Empty
|
||||
emptyStatement = makeTerm <$> symbol EmptyStatement <*> (Syntax.Empty <$ source <|> pure Syntax.Empty)
|
||||
|
||||
|
||||
-- Helper functions
|
||||
|
Loading…
Reference in New Issue
Block a user