summaryrefslogtreecommitdiff
path: root/xs_json.h
diff options
context:
space:
mode:
Diffstat (limited to 'xs_json.h')
-rw-r--r--xs_json.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/xs_json.h b/xs_json.h
index a9577ee..e65499a 100644
--- a/xs_json.h
+++ b/xs_json.h
@@ -282,6 +282,10 @@ static xs_val *_xs_json_load_lexer(FILE *f, js_type *t)
282 cp += 0x2400; 282 cp += 0x2400;
283 283
284 break; 284 break;
285
286 default:
287 *t = JS_ERROR;
288 break;
285 } 289 }
286 290
287 v = xs_utf8_insert(v, cp, &offset); 291 v = xs_utf8_insert(v, cp, &offset);