X-Git-Url: http://de.git.xonotic.org/?p=xonotic%2Fgmqcc.git;a=blobdiff_plain;f=lexer.h;h=83cb62470dc53f79a4da813ae1177f7f91091d80;hp=15730ee2ebacb035957e09815db7463099d60644;hb=db229b6f94175076dec1d105169aaf984db58f7d;hpb=8e87082e1df9b2860284aa383801bfd4f3d0ce8c diff --git a/lexer.h b/lexer.h index 15730ee..83cb624 100644 --- a/lexer.h +++ b/lexer.h @@ -76,6 +76,7 @@ enum { TOKEN_VA_ARGS, /* for the ftepp only */ TOKEN_VA_ARGS_ARRAY, /* for the ftepp only */ + TOKEN_VA_COUNT, /* to get the count of vaargs */ TOKEN_STRINGCONST, /* not the typename but an actual "string" */ TOKEN_CHARCONST, @@ -184,6 +185,7 @@ static const oper_info c_operators[] = { { "%", 2, opid1('%'), ASSOC_LEFT, 13, 0 }, { "+", 2, opid1('+'), ASSOC_LEFT, 12, 0 }, + { "**", 2, opid2('*', '*'), ASSOC_RIGHT, 12, 0 }, { "-", 2, opid1('-'), ASSOC_LEFT, 12, 0 }, { "<<", 2, opid2('<','<'), ASSOC_LEFT, 11, 0 },