aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorGabriel Dos Reis <gdr@integrable-solutions.net>2007-02-10 23:30:13 +0000
committerGabriel Dos Reis <gdr@gcc.gnu.org>2007-02-10 23:30:13 +0000
commit097552faa9195832c07dd69bbcc0c95242674386 (patch)
tree7aa82a2c68c15b2a0332bede3550d7a5d4d2727d /gcc
parent51823d478c136900b5877fed42e8c62811f0a415 (diff)
downloadgcc-097552faa9195832c07dd69bbcc0c95242674386.zip
gcc-097552faa9195832c07dd69bbcc0c95242674386.tar.gz
gcc-097552faa9195832c07dd69bbcc0c95242674386.tar.bz2
* parser.c (cp_parser_primary_expression): Reformat overly long lines.
From-SVN: r121805
Diffstat (limited to 'gcc')
-rw-r--r--gcc/cp/ChangeLog4
-rw-r--r--gcc/cp/parser.c6
2 files changed, 8 insertions, 2 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index 5573910..9fcd66a 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -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.
diff --git a/gcc/cp/parser.c b/gcc/cp/parser.c
index 8e130b6..328add2 100644
--- a/gcc/cp/parser.c
+++ b/gcc/cp/parser.c
@@ -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");