diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2020-08-26 21:16:51 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2020-08-26 21:16:51 +0900 |
commit | cc36b5d4aced7c8df0c1933ef3482736de068cfc (patch) | |
tree | 08e9cf2b4a548c98ead3744976bd88bc5a0e258e /parse.y | |
parent | 72cb9bc55f5f96ad6d04129cd997e53c5b0c3a83 (diff) | |
download | ruby-cc36b5d4aced7c8df0c1933ef3482736de068cfc.tar.gz |
Removed a never-true condition
Diffstat (limited to 'parse.y')
-rw-r--r-- | parse.y | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; } |