mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Removed a never-true condition
This commit is contained in:
parent
72cb9bc55f
commit
cc36b5d4ac
1 changed files with 1 additions and 1 deletions
2
parse.y
2
parse.y
|
|
@ -8556,7 +8556,7 @@ parse_percent(struct parser_params *p, const int space_seen, const enum lex_stat
|
|||
return 0;
|
||||
}
|
||||
}
|
||||
if (c == -1 || term == -1) {
|
||||
if (term == -1) {
|
||||
compile_error(p, "unterminated quoted string meets end of file");
|
||||
return 0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue