Improve MJSON handling

This commit is contained in:
gingerBill
2021-09-28 15:01:11 +01:00
parent c933054872
commit d452758afc
3 changed files with 86 additions and 69 deletions
+7
View File
@@ -102,6 +102,13 @@ validate_value :: proc(p: ^Parser) -> bool {
case .Open_Bracket:
return validate_array(p)
case .Ident:
if p.spec == .MJSON {
advance_token(p)
return true
}
return false
case:
if p.spec != .JSON {