2015-07-29 Richard Biener <rguenther@suse.de>
commit951c31b0e93b5c7d410848ec70808b701d91e0ff
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 29 Jul 2015 12:06:14 +0000 (29 12:06 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 29 Jul 2015 12:06:14 +0000 (29 12:06 +0000)
tree48ad90c6ec01799211a2947cf488f0dbdf109b1f
parent1ae7fdc96dfbbd74f29a0d563fa7641c1563d615
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@226344 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/genmatch.c