diff options
Diffstat (limited to 'ext/json/ext/parser.c')
-rw-r--r-- | ext/json/ext/parser.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/json/ext/parser.c b/ext/json/ext/parser.c index e1d5bca..1d639d2 100644 --- a/ext/json/ext/parser.c +++ b/ext/json/ext/parser.c @@ -147,8 +147,9 @@ case 2: tr2: #line 127 "parser.rl" { + char *np; json->parsing_name = 1; - char *np = JSON_parse_string(json, p, pe, &last_name); + np = JSON_parse_string(json, p, pe, &last_name); json->parsing_name = 0; if (np == NULL) { p--; {p++; cs = 3; goto _out;} } else {p = (( np))-1;} } |