mirror of
https://github.com/Ed94/Odin.git
synced 2026-07-15 15:41:26 -07:00
Improve MJSON handling
This commit is contained in:
@@ -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