X-Git-Url: https://git.xonotic.org/?a=blobdiff_plain;f=lexer.h;h=75fb83e9320fc159d432819c408b3abf339270c7;hb=46892daa3ad6ad98706abfb00ea947658dca3aa7;hp=5d7b7f611bd0ef8166ed8e70ad432c7173ea6e3b;hpb=7d14fdf530e49cb04b13572a790178c4c4bf75dc;p=xonotic%2Fgmqcc.git diff --git a/lexer.h b/lexer.h index 5d7b7f6..75fb83e 100644 --- a/lexer.h +++ b/lexer.h @@ -75,6 +75,7 @@ enum { TOKEN_ATTRIBUTE_CLOSE, /* ]] */ TOKEN_VA_ARGS, /* for the ftepp only */ + TOKEN_VA_ARGS_ARRAY, /* for the ftepp only */ TOKEN_STRINGCONST, /* not the typename but an actual "string" */ TOKEN_CHARCONST, @@ -250,6 +251,9 @@ static const oper_info fte_operators[] = { { "+", 2, opid1('+'), ASSOC_LEFT, 12, 0 }, { "-", 2, opid1('-'), ASSOC_LEFT, 12, 0 }, + { "<<", 2, opid2('<','<'), ASSOC_LEFT, 11, 0 }, + { ">>", 2, opid2('>','>'), ASSOC_LEFT, 11, 0 }, + { "<", 2, opid1('<'), ASSOC_LEFT, 10, 0 }, { ">", 2, opid1('>'), ASSOC_LEFT, 10, 0 }, { "<=", 2, opid2('<','='), ASSOC_LEFT, 10, 0 },