summaryrefslogtreecommitdiff
path: root/parse.y
diff options
context:
space:
mode:
Diffstat (limited to 'parse.y')
-rw-r--r--parse.y1
1 files changed, 1 insertions, 0 deletions
diff --git a/parse.y b/parse.y
index b53166812e..88cb61bdec 100644
--- a/parse.y
+++ b/parse.y
@@ -6705,6 +6705,7 @@ parser_yylex(struct parser_params *parser)
else {
rb_compile_error(PARSER_ARG "`@@%c' is not allowed as a class variable name", c);
}
+ return 0;
}
uc = (unsigned char)c;
if (!is_identchar(uc)) {