1
1
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:
Timothy Clem 2018-09-13 10:45:24 -07:00
parent 30dc311e13
commit b78abb48da

View File

@ -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)