From 3c7df4d37b46e7d453bc07ced88c3c0cdc8d94a9 Mon Sep 17 00:00:00 2001 From: neil Date: Sat, 11 Nov 2000 13:19:01 +0000 Subject: Remove CPP_PLACEMARKERs * cppexp.c (lex): Don't handle CPP_PLACEMARKER. * cpplex.c (_cpp_lex_token): Rename skip_newlines to next_bol * cpplib.c (skip_rest_of_line, check_eol, cpp_push_buffer): Similarly. * cpplib.h: Remove CPP_PLACEMARKER. (struct lexer_state): Rename skip_newlines to next_bol. * cppmacro.c (stringify_arg): Don't handle CPP_PLACEMARKER. Simplify prev_white handling as a result. (paste_all_tokens): Don't worry about CPP_PLACEMARKERs. (parse_arg): Empty arguments are now empty, not CPP_PLACEMARKERs. (parse_args): Similarly. Update argument count tests. (enter_macro_context): Return 2 to indicate an empty macro. (replace_args): Don't bother pre-expanding an empty argument. Handle placemarkers and ## extension during pre-expansion. (cpp_get_token): Handle empty macro expansions. Don't worry about CPP_PLACEMARKERs. (_cpp_create_definition): Empty macros are now empty. (cpp_macro_defintion): Don't special case empty macros. * scan-decls.c: Don't bother with CPP_PLACEMARKERs. * c-lex.c: Similarly. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37385 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/scan-decls.c | 1 - 1 file changed, 1 deletion(-) (limited to 'gcc/scan-decls.c') diff --git a/gcc/scan-decls.c b/gcc/scan-decls.c index 6adcbcbb67d..ba0a00c8fc4 100644 --- a/gcc/scan-decls.c +++ b/gcc/scan-decls.c @@ -133,7 +133,6 @@ scan_decls (pfile, argc, argv) goto handle_statement; case CPP_MULT: case CPP_AND: - case CPP_PLACEMARKER: /* skip */ break; -- cgit v1.2.1