ext/json/ext/parser/parser.rl in json_pure-1.0.2 vs ext/json/ext/parser/parser.rl in json_pure-1.0.3
- old
+ new
@@ -442,13 +442,13 @@
* Parses the current JSON text _source_ and returns the complete data
* structure as a result.
*/
static VALUE cParser_parse(VALUE self)
{
- GET_STRUCT;
char *p, *pe;
int cs = EVIL;
VALUE result = Qnil;
+ GET_STRUCT;
%% write init;
p = json->source;
pe = p + json->len;
%% write exec;