From: Wolfgang Bumiller Date: Fri, 20 Jul 2012 13:34:51 +0000 (+0200) Subject: static operator_count X-Git-Tag: 0.1-rc1~407 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=439aef8c33117875c2945ebe8e748722014d91b8;p=xonotic%2Fgmqcc.git static operator_count --- diff --git a/lexer.h b/lexer.h index 9256101..c23f944 100644 --- a/lexer.h +++ b/lexer.h @@ -184,7 +184,7 @@ static const oper_info operators[] = { { "^=", 2, opid2('^','='), ASSOC_RIGHT, 2, 0 }, { "|=", 2, opid2('|','='), ASSOC_RIGHT, 2, 0 }, }; -const size_t operator_count = (sizeof(operators) / sizeof(operators[0])); +static const size_t operator_count = (sizeof(operators) / sizeof(operators[0])); typedef struct {