mirror of
https://github.com/github/semantic.git
synced 2024-12-24 15:35:14 +03:00
Assign parse errors inside the value node.
This commit is contained in:
parent
4fe23a6196
commit
1e82044bd1
@ -35,7 +35,7 @@ assignment :: Assignment Term
|
|||||||
assignment = Syntax.handleError (value <|> parseError)
|
assignment = Syntax.handleError (value <|> parseError)
|
||||||
|
|
||||||
value :: Assignment Term
|
value :: Assignment Term
|
||||||
value = branchNode Value (object <|> array)
|
value = branchNode Value (object <|> array <|> parseError)
|
||||||
|
|
||||||
jsonValue :: Assignment Term
|
jsonValue :: Assignment Term
|
||||||
jsonValue = object <|> array <|> number <|> string <|> boolean <|> none <|> parseError
|
jsonValue = object <|> array <|> number <|> string <|> boolean <|> none <|> parseError
|
||||||
|
Loading…
Reference in New Issue
Block a user