diff options
author | Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | 2001-03-28 19:24:11 +0000 |
---|---|---|
committer | Kaveh Ghazi <ghazi@gcc.gnu.org> | 2001-03-28 19:24:11 +0000 |
commit | 3fdefbcc63ada60e2d6bca1dc5581f1cd3716ec1 (patch) | |
tree | dbd69cd73ee0d9e1da71ec851f34e7aacf15854c /gcc/tradcpp.c | |
parent | 883e9882ff75073eef98ca4f7762b627502cd9b2 (diff) | |
download | gcc-3fdefbcc63ada60e2d6bca1dc5581f1cd3716ec1.zip gcc-3fdefbcc63ada60e2d6bca1dc5581f1cd3716ec1.tar.gz gcc-3fdefbcc63ada60e2d6bca1dc5581f1cd3716ec1.tar.bz2 |
toplev.h (fatal_error): Add ATTRIBUTE_NORETURN.
* toplev.h (fatal_error): Add ATTRIBUTE_NORETURN.
* tradcif.y (yyerror): Likewise. Add format specifier in call to
`error'.
* tradcpp.c (macroexpand): Likewise for call to `error_with_line'.
From-SVN: r40939
Diffstat (limited to 'gcc/tradcpp.c')
-rw-r--r-- | gcc/tradcpp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/tradcpp.c b/gcc/tradcpp.c index 82de0bb..d567473 100644 --- a/gcc/tradcpp.c +++ b/gcc/tradcpp.c @@ -4020,7 +4020,7 @@ macroexpand (hp, op) = macarg ((i < nargs || (nargs == 0 && i == 0)) ? &args[i] : 0); if (parse_error) { - error_with_line (line_for_error (start_line), parse_error); + error_with_line (line_for_error (start_line), "%s", parse_error); break; } i++; |