mirror of
https://github.com/github/semantic.git
synced 2024-12-01 00:33:59 +03:00
Need to match children of ArrayInitializer
This commit is contained in:
parent
30dc311e13
commit
b78abb48da
@ -254,7 +254,7 @@ modifier = make <$> symbol Modifier <*> children(Left <$> annotation <|> Right .
|
||||
make _ (Left annotation) = annotation
|
||||
|
||||
arrayInitializer :: Assignment Term
|
||||
arrayInitializer = makeTerm <$> symbol ArrayInitializer <*> (Literal.Array <$> many expression)
|
||||
arrayInitializer = makeTerm <$> symbol ArrayInitializer <*> children (Literal.Array <$> many expression)
|
||||
|
||||
comment :: Assignment Term
|
||||
comment = makeTerm <$> symbol Comment <*> (Comment.Comment <$> source)
|
||||
|
Loading…
Reference in New Issue
Block a user