X-Git-Url: https://git.xonotic.org/?p=xonotic%2Fgmqcc.git;a=blobdiff_plain;f=lexer.c;h=541104127393fb9ba393f64f9f49edd62214d97d;hp=e0dafc3a6184a094a776e40caed6cb36337007b7;hb=d6ca5673dc7f2760faca1200477808d919a290ca;hpb=8db9724c5d4189ec55b0c827b9633e9257243582 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;