summaryrefslogtreecommitdiff
path: root/innobase/pars
diff options
context:
space:
mode:
authorserg@serg.mysql.com <>2002-10-25 21:15:52 +0000
committerserg@serg.mysql.com <>2002-10-25 21:15:52 +0000
commitdede6634f675a213de62560f539f7af2e103b9f3 (patch)
tree30c13439b168df68d4884a7403a173a8970cc56e /innobase/pars
parentdd0e34274259a91cfd706cb6d8d3351fbf94b0d4 (diff)
parent578ce24ea0078a128a0fc2aabf4431661707cc34 (diff)
downloadmariadb-git-dede6634f675a213de62560f539f7af2e103b9f3.tar.gz
merged
Diffstat (limited to 'innobase/pars')
-rw-r--r--innobase/pars/lexyy.c9
-rw-r--r--innobase/pars/pars0grm.c2
2 files changed, 10 insertions, 1 deletions
diff --git a/innobase/pars/lexyy.c b/innobase/pars/lexyy.c
index f7edc9d195f..782fca35f66 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
@@ -607,13 +609,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 05b75398084..ce575063610 100644
--- a/innobase/pars/pars0grm.c
+++ b/innobase/pars/pars0grm.c
@@ -102,6 +102,8 @@ que_node_t */
#include "que0que.h"
#include "row0sel.h"
+#include <math.h>
+
#define YYSTYPE que_node_t*
/* #define __STDC__ */