diff options
Diffstat (limited to 'parse.y')
-rw-r--r-- | parse.y | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -3528,6 +3528,10 @@ yylex() } else { term = nextc(); + if (ISALNUM(term) || ismbchar(term)) { + yyerror("unknown type of %string"); + return 0; + } } if (c == -1 || term == -1) { rb_compile_error("unterminated quoted string meets end of file"); |