summaryrefslogtreecommitdiffstats
path: root/gcc/cpptrad.c
diff options
context:
space:
mode:
authordanglin <danglin@138bc75d-0d04-0410-961f-82ee72b054a4>2003-11-01 22:56:54 +0000
committerdanglin <danglin@138bc75d-0d04-0410-961f-82ee72b054a4>2003-11-01 22:56:54 +0000
commitd80d207431480614c84e6f4fde0a157c5dc590f9 (patch)
tree968c051f5c6b85312c57b38b07efd46743674b3b /gcc/cpptrad.c
parent500be7b1b6bb23e542cb2bce3767cc90da5a0565 (diff)
downloadppe42-gcc-d80d207431480614c84e6f4fde0a157c5dc590f9.tar.gz
ppe42-gcc-d80d207431480614c84e6f4fde0a157c5dc590f9.zip
PR preprocessor/12847
* cppfiles.c, cppexp.c, cpperror.c, cpplib.h, cpplib.c, cpplex.c, cppinit.c, cpptrad.c, cppmacro.c, fix-header.c, cpppch.c, c-pch.c, c-incpath.c, cppcharset.c (DL_WARNING, DL_WARNING_SYSHDR, DL_PEDWARN, DL_ERROR, DL_ICE, DL_EXTRACT, DL_WARNING_P): Prefix macro names with "CPP_". git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73183 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cpptrad.c')
-rw-r--r--gcc/cpptrad.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/cpptrad.c b/gcc/cpptrad.c
index e2ccb0bdcbd..0f98a8ad3dd 100644
--- a/gcc/cpptrad.c
+++ b/gcc/cpptrad.c
@@ -158,7 +158,7 @@ copy_comment (cpp_reader *pfile, const uchar *cur, int in_define)
unterminated = _cpp_skip_block_comment (pfile);
if (unterminated)
- cpp_error_with_line (pfile, DL_ERROR, from_line, 0,
+ cpp_error_with_line (pfile, CPP_DL_ERROR, from_line, 0,
"unterminated comment");
/* Comments in directives become spaces so that tokens are properly
@@ -667,7 +667,7 @@ _cpp_scan_out_logical_line (cpp_reader *pfile, cpp_macro *macro)
_cpp_release_buff (pfile, fmacro.buff);
if (lex_state == ls_fun_close)
- cpp_error_with_line (pfile, DL_ERROR, fmacro.line, 0,
+ cpp_error_with_line (pfile, CPP_DL_ERROR, fmacro.line, 0,
"unterminated argument list invoking macro \"%s\"",
NODE_NAME (fmacro.node));
return result;
@@ -736,7 +736,7 @@ recursive_macro (cpp_reader *pfile, cpp_hashnode *node)
}
if (recursing)
- cpp_error (pfile, DL_ERROR,
+ cpp_error (pfile, CPP_DL_ERROR,
"detected recursion whilst expanding macro \"%s\"",
NODE_NAME (node));
OpenPOWER on IntegriCloud