summaryrefslogtreecommitdiff
path: root/parse.y
diff options
context:
space:
mode:
authorusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-04-30 21:39:04 +0000
committerusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-04-30 21:39:04 +0000
commit6aac76353a3a9d57a2ad26f93bb98d6b1a2cb8be (patch)
tree5d0c41cd9ff520fb4f0967afc16ecc602b5e864f /parse.y
parent6334ff3858d7dc5b484079e1a15624f2b0bd2454 (diff)
* 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
Diffstat (limited to 'parse.y')
-rw-r--r--parse.y2
1 files changed, 1 insertions, 1 deletions
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;
}
}