X-Git-Url: https://git.xonotic.org/?a=blobdiff_plain;f=lexer.c;h=541104127393fb9ba393f64f9f49edd62214d97d;hb=a622d5163b9852c66d8399e05e5731d3a538d43b;hp=e0dafc3a6184a094a776e40caed6cb36337007b7;hpb=b534aca26349ba4bf72e62f1623437e32aacab29;p=xonotic%2Fgmqcc.git diff --git a/lexer.c b/lexer.c index e0dafc3..5411041 100644 --- a/lexer.c +++ b/lexer.c @@ -71,9 +71,9 @@ static void lexerror(lex_file *lex, const char *fmt, ...) static bool lexwarn(lex_file *lex, int warntype, const char *fmt, ...) { - bool r; - lex_ctx ctx; - va_list ap; + bool r; + lex_ctx_t ctx; + va_list ap; ctx.file = lex->name; ctx.line = lex->sline;