From 85d705b651cf9057f2d687294044f173880675c3 Mon Sep 17 00:00:00 2001 From: unknown Date: Thu, 9 Mar 2006 10:09:52 -0800 Subject: Porting fix that allows others to include compiled code with different parsers. Makes you wonder what I am up to, doesn't? configure.in: Adjusts bison to not create symbols that clash. sql/sql_analyse.cc: Adding define to make sure sql_yacc.h gets included. sql/sql_lex.cc: Fixing it so that sql_yacc.h is included sql/sql_lex.h: Fixing include rules sql/sql_parse.cc: Adding flag to compile sql_yacc.yy --- sql/sql_analyse.cc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sql/sql_analyse.cc') diff --git a/sql/sql_analyse.cc b/sql/sql_analyse.cc index 0e4198a5114..af9246c673a 100644 --- a/sql/sql_analyse.cc +++ b/sql/sql_analyse.cc @@ -27,6 +27,8 @@ #pragma implementation // gcc: Class implementation #endif +#define MYSQL_LEX 1 + #include "mysql_priv.h" #include "procedure.h" #include "sql_analyse.h" -- cgit v1.2.1