]> git.rm.cloudns.org Git - xonotic/gmqcc.git/commitdiff
There was too many 16-sized buckets when compiling xonotic, increase the size: this...
authorDale Weiler <killfieldengine@gmail.com>
Fri, 26 Jul 2013 14:50:37 +0000 (14:50 +0000)
committerDale Weiler <killfieldengine@gmail.com>
Fri, 26 Jul 2013 14:50:37 +0000 (14:50 +0000)
main.c
parser.c

diff --git a/main.c b/main.c
index feb8aa3886ab128491f9e9af401beea9775e7ba2..6029d6d2e64d5d0dfebf1925319b3b1a1f54e83c 100644 (file)
--- a/main.c
+++ b/main.c
@@ -198,6 +198,7 @@ static bool options_parse(int argc, char **argv) {
                     opts_set(opts.warn, WARN_BREAKDEF,             true);
 
                     OPTS_OPTION_U32(OPTION_STANDARD) = COMPILER_FTEQCC;
+                    OPTS_OPTION_BOOL(OPTION_STATISTICS) = true;
 
                 } else if (!strcmp(argarg, "qccx")) {
 
index c9f093fdc2e2e7d2177ff55e743956607c01ba88..159c7c93dc35185b6a5b73391ff2b5fe75fb410e 100644 (file)
--- a/parser.c
+++ b/parser.c
@@ -31,8 +31,8 @@
 /* beginning of locals */
 #define PARSER_HT_LOCALS  2
 
-#define PARSER_HT_SIZE    128
-#define TYPEDEF_HT_SIZE   16
+#define PARSER_HT_SIZE    512
+#define TYPEDEF_HT_SIZE   512
 
 typedef struct parser_s {
     lex_file *lex;