From 36591e902ba0c9f37404ff75f3f83b2cad0ad2ae Mon Sep 17 00:00:00 2001 From: "Wolfgang (Blub) Bumiller" Date: Tue, 14 Aug 2012 12:17:34 +0200 Subject: [PATCH] it's .file, not .name' --- error.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/error.c b/error.c index 3187aee..e6a1c7d 100644 --- a/error.c +++ b/error.c @@ -58,7 +58,7 @@ void printmsg(int level, const char *name, size_t line, const char *msgtype, con void cvprintmsg(lex_ctx ctx, int lvl, const char *msgtype, const char *msg, va_list ap) { - vprintmsg(lvl, ctx.name, ctx.line, msgtype, msg, ap); + vprintmsg(lvl, ctx.file, ctx.line, msgtype, msg, ap); } void cprintmsg (lex_ctx ctx, int lvl, const char *msgtype, const char *msg, ...) -- 2.39.2