summaryrefslogtreecommitdiffhomepage
path: root/src/parse.y
diff options
context:
space:
mode:
Diffstat (limited to 'src/parse.y')
-rw-r--r--src/parse.y2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/parse.y b/src/parse.y
index be18b1d35..04e0a9d01 100644
--- a/src/parse.y
+++ b/src/parse.y
@@ -4658,7 +4658,7 @@ parser_new(mrb_state *mrb)
p->cmd_start = TRUE;
p->in_def = p->in_single = FALSE;
- p->capture_errors = NULL;
+ p->capture_errors = 0;
p->lineno = 1;
#if defined(PARSER_TEST) || defined(PARSER_DEBUG)