it's .file, not .name'

This commit is contained in:
Wolfgang (Blub) Bumiller 2012-08-14 12:17:34 +02:00
parent 5416fdb7c0
commit 36591e902b

View file

@ -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) 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, ...) void cprintmsg (lex_ctx ctx, int lvl, const char *msgtype, const char *msg, ...)