From 6aac76353a3a9d57a2ad26f93bb98d6b1a2cb8be Mon Sep 17 00:00:00 2001 From: usa Date: Sun, 30 Apr 2017 21:39:04 +0000 Subject: * parse.y (parser_parse_string): set the mark of term to `nd_func` because in this version `u2.id` is not used for this purpose. fixed failure of ruby/spec introduced at r58518. see also [Backport #13363] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_3@58522 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- parse.y | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'parse.y') diff --git a/parse.y b/parse.y index 53c09b6a52..ee90cb9950 100644 --- a/parse.y +++ b/parse.y @@ -6509,7 +6509,7 @@ parser_parse_string(struct parser_params *parser, NODE *quote) else { compile_error(PARSER_ARG "unterminated string meets end of file"); } - quote->u2.id = -1; + quote->nd_func = -1; } } -- cgit v1.2.3