summaryrefslogtreecommitdiff
path: root/gcc/tradcpp.c
diff options
context:
space:
mode:
authorghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>2001-03-28 19:24:11 +0000
committerghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>2001-03-28 19:24:11 +0000
commit2aed6bc4b1a02deae7d0528b72aeaab75662f1a1 (patch)
treedbd69cd73ee0d9e1da71ec851f34e7aacf15854c /gcc/tradcpp.c
parenta61f5ade3525ce189db00381669c8532f27fe344 (diff)
downloadgcc-2aed6bc4b1a02deae7d0528b72aeaab75662f1a1.tar.gz
* 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'. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40939 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tradcpp.c')
-rw-r--r--gcc/tradcpp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/tradcpp.c b/gcc/tradcpp.c
index 82de0bb7d69..d5674736f47 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++;