genmatch.c (c_expr::gen_transform): Error on unknown captures.
authorRichard Biener <rguenther@suse.de>
Wed, 29 Jul 2015 12:06:14 +0000 (12:06 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Wed, 29 Jul 2015 12:06:14 +0000 (12:06 +0000)
commitc56f494f748440295cb1536871778153cd7c8335
tree48ad90c6ec01799211a2947cf488f0dbdf109b1f
parent89a79e9629f0713df2c893133084563b5082e8e8
genmatch.c (c_expr::gen_transform): Error on unknown captures.

2015-07-29  Richard Biener  <rguenther@suse.de>

* genmatch.c (c_expr::gen_transform): Error on unknown captures.
(parser::parse_capture): Add bool argument on whether to reject
unknown captures.
(parser::parse_expr): Adjust.
(parser::parse_op): Likewise.
(parser::parse_pattern): Likewise.

From-SVN: r226344
gcc/ChangeLog
gcc/genmatch.c