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 7987bae18..63c15e056 100644
--- a/src/parse.y
+++ b/src/parse.y
@@ -4647,7 +4647,7 @@ mrb_parser_parse(parser_state *p)
}
}
else {
- if ((int)(intptr_t)tree->car == NODE_SCOPE) {
+ if ((intptr_t)tree->car == NODE_SCOPE) {
p->locals = cons(tree->cdr->car, 0);
}
if (p->begin_tree) {