From b534aca26349ba4bf72e62f1623437e32aacab29 Mon Sep 17 00:00:00 2001 From: Dale Weiler Date: Sat, 22 Jun 2013 02:25:19 +0000 Subject: [PATCH] Fix a case of the uninitialized blues --- lexer.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lexer.c b/lexer.c index ac230b6..e0dafc3 100644 --- a/lexer.c +++ b/lexer.c @@ -75,8 +75,9 @@ static bool lexwarn(lex_file *lex, int warntype, const char *fmt, ...) lex_ctx ctx; va_list ap; - ctx.file = lex->name; - ctx.line = lex->sline; + ctx.file = lex->name; + ctx.line = lex->sline; + ctx.column = lex->column; va_start(ap, fmt); r = vcompile_warning(ctx, warntype, fmt, ap); -- 2.39.2