X-Git-Url: https://git.xonotic.org/?a=blobdiff_plain;f=lexer.h;h=8715b652e83ea18edc6aacef560ea6877328efa4;hb=5d6767f3378c6619fcb9cc3b16b02f6e589369e0;hp=8ccd2cf261d6a8dcb7d41d316cf0434fafc20a77;hpb=e8563442a1023c7bfc4cc2edc99f7efca09e8553;p=xonotic%2Fgmqcc.git diff --git a/lexer.h b/lexer.h index 8ccd2cf..8715b65 100644 --- a/lexer.h +++ b/lexer.h @@ -183,6 +183,7 @@ static const oper_info operators[] = { { "^=", opid2('^','='), ASSOC_RIGHT, 2, 0 }, { "|=", opid2('|','='), ASSOC_RIGHT, 2, 0 }, }; +const size_t operator_count = (sizeof(operators) / sizeof(operators[0])); typedef struct {