1
1
mirror of https://github.com/github/semantic.git synced 2024-12-21 05:41:54 +03:00

Change assignment back to object and array

This commit is contained in:
joshvera 2018-06-25 17:39:35 -04:00
parent 79f193640c
commit ce1caaab43

View File

@ -36,7 +36,7 @@ assignment :: Assignment
assignment = Syntax.handleError (value <|> parseError) assignment = Syntax.handleError (value <|> parseError)
value :: Assignment value :: Assignment
value = symbol Value *> children (object <|> array <|> number <|> string <|> boolean <|> none) value = symbol Value *> children (object <|> array)
jsonValue :: Assignment jsonValue :: Assignment
jsonValue = object <|> array <|> number <|> string <|> boolean <|> none jsonValue = object <|> array <|> number <|> string <|> boolean <|> none