Improve MJSON handling
This commit is contained in:
1 parent
c933054872
commit
d452758afc
3 files changed
+86
-69
No files matched your search
@@ -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 {
|
||||
|
||||
Reference in new issue
Block a user