diff options
author | Marek Polacek <polacek@redhat.com> | 2015-09-15 17:19:11 +0000 |
---|---|---|
committer | Marek Polacek <mpolacek@gcc.gnu.org> | 2015-09-15 17:19:11 +0000 |
commit | 0e36f5c7c103e2d897fcbc9728fa98768b386f9a (patch) | |
tree | ea4ad4601177b57e46c4c68bebdfb4668db9e541 /libobjc/NXConstStr.m | |
parent | c33c18cdc6b29a312464cb16996530b47a333c98 (diff) | |
download | gcc-0e36f5c7c103e2d897fcbc9728fa98768b386f9a.zip gcc-0e36f5c7c103e2d897fcbc9728fa98768b386f9a.tar.gz gcc-0e36f5c7c103e2d897fcbc9728fa98768b386f9a.tar.bz2 |
re PR c/67580 (Improve error message on missing "struct" tag)
PR c/67580
* c-decl.c (tag_exists_p): New function.
* c-parser.c (c_parser_declaration_or_fndef): Give a hint when
struct/union/enum keywords are missing.
* c-tree.h (tag_exists_p): Declare.
* gcc.dg/pr67580.c: New test.
From-SVN: r227803
Diffstat (limited to 'libobjc/NXConstStr.m')
0 files changed, 0 insertions, 0 deletions