diff options
author | John David Anglin <dave.anglin@nrc-cnrc.gc.ca> | 2003-11-01 22:56:54 +0000 |
---|---|---|
committer | John David Anglin <danglin@gcc.gnu.org> | 2003-11-01 22:56:54 +0000 |
commit | 0527bc4ebf78a3e1ae984f978fb4f7118a180add (patch) | |
tree | 968c051f5c6b85312c57b38b07efd46743674b3b /gcc/cpptrad.c | |
parent | 2f7b62efc51dd853ab5fa6e36cc0d15c831d6796 (diff) | |
download | gcc-0527bc4ebf78a3e1ae984f978fb4f7118a180add.zip gcc-0527bc4ebf78a3e1ae984f978fb4f7118a180add.tar.gz gcc-0527bc4ebf78a3e1ae984f978fb4f7118a180add.tar.bz2 |
re PR preprocessor/12847 (xxx.c:1:20: xxxx.h: No such file or directory)
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_".
From-SVN: r73183
Diffstat (limited to 'gcc/cpptrad.c')
-rw-r--r-- | gcc/cpptrad.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/cpptrad.c b/gcc/cpptrad.c index e2ccb0b..0f98a8a 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)); |