diff options
author | walrus@mysql.com <> | 2002-10-29 02:12:56 +0500 |
---|---|---|
committer | walrus@mysql.com <> | 2002-10-29 02:12:56 +0500 |
commit | 299e88696da1bc7dc63b662121bc191fcbbe3a00 (patch) | |
tree | b5a3647c247c2f9acf8d941dbcc1e6e272f0bee4 | |
parent | 7f1263f1308de989925314c5330c92f660dfd766 (diff) | |
parent | 578ce24ea0078a128a0fc2aabf4431661707cc34 (diff) | |
download | mariadb-git-299e88696da1bc7dc63b662121bc191fcbbe3a00.tar.gz |
Merge akishkin@work.mysql.com:/home/bk/mysql
into mysql.com:/home/walrus/bk/323
-rw-r--r-- | innobase/pars/lexyy.c | 9 | ||||
-rw-r--r-- | innobase/pars/pars0grm.c | 4 |
2 files changed, 10 insertions, 3 deletions
diff --git a/innobase/pars/lexyy.c b/innobase/pars/lexyy.c index 0a333c726ff..81adf909d01 100644 --- a/innobase/pars/lexyy.c +++ b/innobase/pars/lexyy.c @@ -4,6 +4,8 @@ * $Header: /home/daffy/u0/vern/flex/RCS/flex.skl,v 2.91 96/09/10 16:58:48 vern Exp $ */ +#include "univ.i" + #define FLEX_SCANNER #define YY_FLEX_MAJOR_VERSION 2 #define YY_FLEX_MINOR_VERSION 5 @@ -606,13 +608,18 @@ How to make the InnoDB parser and lexer C files: 6. Remove the #include of unistd.h from about line 2500 of lexyy.c +7. Move #include <math.h> in pars0grm.c after #include "univ.i" to remove + a large file compilation error on AIX. + +8. Move #include "univ.i" in lexyy.c to the file start to remove a large + file compilation error on AIX. + These instructions seem to work at least with bison-1.28 and flex-2.5.4 on Linux. *******************************************************/ #line 36 "pars0lex.l" #define YYSTYPE que_node_t* -#include "univ.i" #include "pars0pars.h" #include "pars0grm.h" #include "pars0sym.h" diff --git a/innobase/pars/pars0grm.c b/innobase/pars/pars0grm.c index 1b7b31f6443..206534a5352 100644 --- a/innobase/pars/pars0grm.c +++ b/innobase/pars/pars0grm.c @@ -94,8 +94,6 @@ /* The value of the semantic attribute is a pointer to a query tree node que_node_t */ -#include <math.h> - #include "univ.i" #include "pars0pars.h" #include "mem0mem.h" @@ -103,6 +101,8 @@ que_node_t */ #include "que0que.h" #include "row0sel.h" +#include <math.h> + #define YYSTYPE que_node_t* /* #define __STDC__ */ |