diff options
author | Matthias Kretz <m.kretz@gsi.de> | 2019-11-06 16:06:08 +0000 |
---|---|---|
committer | Jason Merrill <jason@gcc.gnu.org> | 2019-11-06 11:06:08 -0500 |
commit | 6394a341d6c4a69d61b29618bf8837002eca580f (patch) | |
tree | 9a691b9f60b25f72e388c699df5e8084d40e64d4 /gcc/tree-ssa-loop-ivcanon.c | |
parent | 4b205bf82d06c4d9d0ae7b78e54c712d79d5b021 (diff) | |
download | gcc-6394a341d6c4a69d61b29618bf8837002eca580f.zip gcc-6394a341d6c4a69d61b29618bf8837002eca580f.tar.gz gcc-6394a341d6c4a69d61b29618bf8837002eca580f.tar.bz2 |
Fix parser to recognize operator?:
This change lets grok_op_properties print its useful "ISO C++ prohibits
overloading operator ?:" message instead of the cryptic error message about
a missing type-specifier before '?' token.
2019-11-06 Matthias Kretz <m.kretz@gsi.de>
* parser.c (cp_parser_operator): Parse operator?: as an
attempt to overload the conditional operator.
From-SVN: r277887
Diffstat (limited to 'gcc/tree-ssa-loop-ivcanon.c')
0 files changed, 0 insertions, 0 deletions