diff options
author | Zack Weinberg <zack@gcc.gnu.org> | 1999-09-11 05:38:06 +0000 |
---|---|---|
committer | Zack Weinberg <zack@gcc.gnu.org> | 1999-09-11 05:38:06 +0000 |
commit | 6ee2c979428ff9f8e2abc37f42f63380cff632ed (patch) | |
tree | 52c46696ab752bb46fd99b5d07c89df8ea0e819d /gcc/cpperror.c | |
parent | 27e934d8bae03ea7eddeb3770641440333a71478 (diff) | |
download | gcc-6ee2c979428ff9f8e2abc37f42f63380cff632ed.tar.gz |
cppalloc.c (xstrdup): Use memcpy.
1999-09-10 22:37 -0700 Zack Weinberg <zack@bitmover.com>
* cppalloc.c (xstrdup): Use memcpy.
* cpperror.c (cpp_print_containing_files): Don't use
cpp_notice.
* cpplib.c (conditional_skip): Set temp->lineno.
(do_endif): Make error message less obscure.
(if_directive_name): New function.
(cpp_get_token [case EOF]): Unwind the if stack and generate
error messages for each unterminated conditional in this file.
(parse_string): Do not behave differently if -traditional.
From-SVN: r29279
Diffstat (limited to 'gcc/cpperror.c')
-rw-r--r-- | gcc/cpperror.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/cpperror.c b/gcc/cpperror.c index 99c5a5d913c..bf335814f09 100644 --- a/gcc/cpperror.c +++ b/gcc/cpperror.c @@ -63,8 +63,8 @@ cpp_print_containing_files (pfile) if (first) { first = 0; - cpp_notice ("In file included from %s:%ld", - ip->nominal_fname, line); + cpp_message (pfile, -1, "In file included from %s:%ld", + ip->nominal_fname, line); } else cpp_message (pfile, -1, ",\n from %s:%ld", |