mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-03-15 07:40:29 +08:00
* parser.c (cp_parser_primary_expression): Reformat overly long lines.
From-SVN: r121805
This commit is contained in:
parent
51823d478c
commit
097552faa9
@ -1,3 +1,7 @@
|
||||
2007-02-10 Gabriel Dos Reis <gdr@integrable-solutions.net>
|
||||
|
||||
* parser.c (cp_parser_primary_expression): Reformat overly long lines.
|
||||
|
||||
2007-02-10 Richard Henderson <rth@redhat.com>, Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
* decl.c (grokvardecl): Don't error if !have_tls.
|
||||
|
@ -3272,9 +3272,11 @@ cp_parser_primary_expression (cp_parser *parser,
|
||||
|
||||
/* Anything else is an error. */
|
||||
default:
|
||||
/* ...unless we have an Objective-C++ message or string literal, that is. */
|
||||
/* ...unless we have an Objective-C++ message or string literal,
|
||||
that is. */
|
||||
if (c_dialect_objc ()
|
||||
&& (token->type == CPP_OPEN_SQUARE || token->type == CPP_OBJC_STRING))
|
||||
&& (token->type == CPP_OPEN_SQUARE
|
||||
|| token->type == CPP_OBJC_STRING))
|
||||
return cp_parser_objc_expression (parser);
|
||||
|
||||
cp_parser_error (parser, "expected primary-expression");
|
||||
|
Loading…
x
Reference in New Issue
Block a user