Gabriel Dos Reis - PATCH to cp/parser.c (original) (raw)

This is the mail archive of the gcc-patches@gcc.gnu.orgmailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

This patchlet reformats some overly long lines in cp_parser_primary_expression. Committed as obvious.

-- Gaby

2007-02-10 Gabriel Dos Reis gdr@integrable-solutions.net

* parser.c (cp_parser_primary_expression): Reformat overly long lines.

*** parser.c (revision 121807) --- parser.c (local) *************** cp_parser_primary_expression (cp_parser *** 3272,3280 ****

    /* Anything else is an error.  */
  default:

! /* ...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)) return cp_parser_objc_expression (parser);

    cp_parser_error (parser, "expected primary-expression");

--- 3272,3282 ----

    /* Anything else is an error.  */
  default:

! /* ...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)) return cp_parser_objc_expression (parser);

    cp_parser_error (parser, "expected primary-expression");

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]