X-Git-Url: https://git.xonotic.org/?p=xonotic%2Fgmqcc.git;a=blobdiff_plain;f=lexer.cpp;h=34fc71b00bfb3600b4c2bf5ca289e5d2e23f4447;hp=79ad182a6456a439e1bfe8ee0cfa9989844aa35a;hb=5c64437189af4a9ee976ea86629d3aa35f078d3e;hpb=76278e8b97578f210b34784a55925b043098def9 diff --git a/lexer.cpp b/lexer.cpp index 79ad182..34fc71b 100644 --- a/lexer.cpp +++ b/lexer.cpp @@ -65,7 +65,7 @@ static void lex_token_new(lex_file *lex) if (lex->tok.value) vec_shrinkto(lex->tok.value, 0); - lex->tok.constval.t = 0; + lex->tok.constval.t = TYPE_VOID; lex->tok.ctx.line = lex->sline; lex->tok.ctx.file = lex->name; lex->tok.ctx.column = lex->column;