Commit 844c77bc authored by unknown's avatar unknown

lexyy.c, pars0lex.l, pars0grm.c, pars0grm.y:

  Port alloca and Windows fix from 3.23


innobase/pars/pars0grm.y:
  Port alloca and Windows fix from 3.23
innobase/pars/pars0grm.c:
  Port alloca and Windows fix from 3.23
innobase/pars/pars0lex.l:
  Port alloca and Windows fix from 3.23
innobase/pars/lexyy.c:
  Port alloca and Windows fix from 3.23
parent 182951d5
This diff is collapsed.
This diff is collapsed.
......@@ -13,8 +13,6 @@ the InnoDB parser.
%{
/* The value of the semantic attribute is a pointer to a query tree node
que_node_t */
#define YYSTYPE que_node_t*
#define alloca mem_alloc
#include <math.h>
......@@ -25,6 +23,8 @@ que_node_t */
#include "que0que.h"
#include "row0sel.h"
#define YYSTYPE que_node_t*
/* #define __STDC__ */
int
......
......@@ -26,6 +26,8 @@ How to make the InnoDB parser and lexer C files:
5. Rename lex.yy.c to lexyy.c.
6. Remove the #include of unistd.h from about line 2500 of lexyy.c
These instructions seem to work at least with bison-1.28 and flex-2.5.4 on
Linux.
*******************************************************/
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment