aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tccpp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tccpp.c b/tccpp.c
index 27f9870..464d60b 100644
--- a/tccpp.c
+++ b/tccpp.c
@@ -90,7 +90,7 @@ static void macro_subst(
ST_FUNC void skip(int c)
{
if (tok != c)
- error("'%c' expected (got \"%s\")", c, get_tok_str(tok, NULL));
+ error("'%c' expected (got \"%s\")", c, get_tok_str(tok, &tokc));
next();
}