diff options
author | neil <neil@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-05-09 17:14:22 +0000 |
---|---|---|
committer | neil <neil@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-05-09 17:14:22 +0000 |
commit | 8e1db61c2a5d0880e5ed55796a9049c0eed2bcf5 (patch) | |
tree | 01f729c62216201f8c59feee2235f99cff88f964 /gcc/cppmacro.c | |
parent | 96a2369cf63af0c99a527c2691ef433c7acab771 (diff) | |
download | gcc-8e1db61c2a5d0880e5ed55796a9049c0eed2bcf5.tar.gz |
* cpplib.c (cpp_init_internal_pragmas): Remove #pragma poison.
* cppmacro.c (paste_all_tokens): Bad pastes are a hard error.
doc:
* cpp.texi: Update for removal of obsolete features.
testsuite:
* gcc.dg/cpp/poison.c: Update.
* gcc.dg/cpp/20000625-2.c: Remove.
* gcc.dg/cpp/direct2s.c: Remove final test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53333 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cppmacro.c')
-rw-r--r-- | gcc/cppmacro.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/cppmacro.c b/gcc/cppmacro.c index 876506bbaad..b9859954656 100644 --- a/gcc/cppmacro.c +++ b/gcc/cppmacro.c @@ -435,9 +435,9 @@ paste_all_tokens (pfile, lhs) { _cpp_backup_tokens (pfile, 1); - /* Mandatory warning for all apart from assembler. */ + /* Mandatory error for all apart from assembler. */ if (CPP_OPTION (pfile, lang) != CLK_ASM) - cpp_error (pfile, DL_WARNING, + cpp_error (pfile, DL_ERROR, "pasting \"%s\" and \"%s\" does not give a valid preprocessing token", cpp_token_as_text (pfile, lhs), cpp_token_as_text (pfile, rhs)); |