ruby-changes:62706
From: Nobuyoshi <ko1@a...>
Date: Wed, 26 Aug 2020 21:41:54 +0900 (JST)
Subject: [ruby-changes:62706] cc36b5d4ac (master): Removed a never-true condition
https://git.ruby-lang.org/ruby.git/commit/?id=cc36b5d4ac From cc36b5d4aced7c8df0c1933ef3482736de068cfc Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada <nobu@r...> Date: Wed, 26 Aug 2020 21:16:51 +0900 Subject: Removed a never-true condition diff --git a/parse.y b/parse.y index ba10c55..9978fb1 100644 --- a/parse.y +++ b/parse.y @@ -8556,7 +8556,7 @@ parse_percent(struct parser_params *p, const int space_seen, const enum lex_stat https://github.com/ruby/ruby/blob/trunk/parse.y#L8556 return 0; } } - if (c == -1 || term == -1) { + if (term == -1) { compile_error(p, "unterminated quoted string meets end of file"); return 0; } -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/