]> git.xonotic.org Git - xonotic/gmqcc.git/commitdiff
static operator_count
authorWolfgang Bumiller <wolfgang.linux@bumiller.com>
Fri, 20 Jul 2012 13:34:51 +0000 (15:34 +0200)
committerWolfgang Bumiller <wolfgang.linux@bumiller.com>
Fri, 20 Jul 2012 13:34:51 +0000 (15:34 +0200)
lexer.h

diff --git a/lexer.h b/lexer.h
index 925610115bfce06bc21614f5366e5a3d8fa795f6..c23f944baf5fee23cf7da5ecdd5dee964956441d 100644 (file)
--- 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
 {