summaryrefslogtreecommitdiff
path: root/parse.y
diff options
context:
space:
mode:
Diffstat (limited to 'parse.y')
-rw-r--r--parse.y4
1 files changed, 2 insertions, 2 deletions
diff --git a/parse.y b/parse.y
index ea4112c5b9..cae73c3e0c 100644
--- a/parse.y
+++ b/parse.y
@@ -4271,10 +4271,10 @@ yylex()
}
if (ISDIGIT(c)) {
if (tokidx == 1) {
- rb_compile_error("`@%c' is not allowable as an instance variable name", c);
+ rb_compile_error("`@%c' is not allowed as an instance variable name", c);
}
else {
- rb_compile_error("`@@%c' is not allowable as a class variable name", c);
+ rb_compile_error("`@@%c' is not allowed as a class variable name", c);
}
}
if (!is_identchar(c)) {