summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext/json/ext/parser/parser.c12
-rw-r--r--ext/json/ext/parser/parser.rl12
2 files changed, 12 insertions, 12 deletions
diff --git a/ext/json/ext/parser/parser.c b/ext/json/ext/parser/parser.c
index b44b396..07d1c17 100644
--- a/ext/json/ext/parser/parser.c
+++ b/ext/json/ext/parser/parser.c
@@ -2093,12 +2093,12 @@ static JSON_Parser *JSON_allocate()
{
JSON_Parser *json = ALLOC(JSON_Parser);
MEMZERO(json, JSON_Parser, 1);
- json->dwrapped_parser = Qnil;
- json->Vsource = Qnil;
- json->create_id = Qnil;
- json->object_class = Qnil;
- json->array_class = Qnil;
- json->match_string = Qnil;
+ json->dwrapped_parser = Qfalse;
+ json->Vsource = Qfalse;
+ json->create_id = Qfalse;
+ json->object_class = Qfalse;
+ json->array_class = Qfalse;
+ json->match_string = Qfalse;
return json;
}
diff --git a/ext/json/ext/parser/parser.rl b/ext/json/ext/parser/parser.rl
index 56e1a11..b07c599 100644
--- a/ext/json/ext/parser/parser.rl
+++ b/ext/json/ext/parser/parser.rl
@@ -816,12 +816,12 @@ static JSON_Parser *JSON_allocate()
{
JSON_Parser *json = ALLOC(JSON_Parser);
MEMZERO(json, JSON_Parser, 1);
- json->dwrapped_parser = Qnil;
- json->Vsource = Qnil;
- json->create_id = Qnil;
- json->object_class = Qnil;
- json->array_class = Qnil;
- json->match_string = Qnil;
+ json->dwrapped_parser = Qfalse;
+ json->Vsource = Qfalse;
+ json->create_id = Qfalse;
+ json->object_class = Qfalse;
+ json->array_class = Qfalse;
+ json->match_string = Qfalse;
return json;
}