c-lex.c
23 KB
-
c-lex.c (get_nonpadding_token): Remove. · 51e63e60
* c-lex.c (get_nonpadding_token): Remove. (c_lex_with_flags): Push timevar and eat padding here. Improve stray token diagnostic. (lex_string): Replace logic with switch statement, eat padding token here. * cp/parser.c (cp_lexer_get_preprocessor_token): Remove unneeded padding token checking. testsuite: * gcc.dg/cpp/direct2.c: Adjust expected errors, robustify parser resyncing. * gcc.dg/cpp/direct2s.c: Likewise. From-SVN: r89577
Nathan Sidwell committed