aboutsummaryrefslogtreecommitdiffstats
path: root/parse.y
diff options
context:
space:
mode:
Diffstat (limited to 'parse.y')
-rw-r--r--parse.y2
1 files changed, 1 insertions, 1 deletions
diff --git a/parse.y b/parse.y
index eb9c5e6198..e6f2cff3ab 100644
--- a/parse.y
+++ b/parse.y
@@ -3443,7 +3443,7 @@ yylex()
default:
if (!is_identchar(c) || ISDIGIT(c)) {
- rb_compile_error("Invalid char '%c'(%03o) in expression", c, c);
+ rb_compile_error("Invalid char `\\%03o' in expression", c);
goto retry;
}