Update of /cvsroot/monetdb/sql/src/server
In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv24466
Modified Files:
Tag: Aug2009
sql_parser.mx
Log Message:
Some defines to get the parser working with bison++ 1.21.11-3.
Unfortunately there is also a bug in bison++ itself: in the generated
code it compares int with size_t which the compiler warns about.
U sql_parser.mx
Index: sql_parser.mx
===================================================================
RCS file: /cvsroot/monetdb/sql/src/server/sql_parser.mx,v
retrieving revision 1.312.2.8
retrieving revision 1.312.2.9
diff -u -d -r1.312.2.8 -r1.312.2.9
--- sql_parser.mx 17 Sep 2009 20:28:05 -0000 1.312.2.8
+++ sql_parser.mx 5 Oct 2009 15:49:48 -0000 1.312.2.9
@@ -236,10 +236,13 @@
#undef yyerror
#endif
#define yyerror(s) parse_error(YYLEX_PARAM, s)
+#define sqlerror(s) parse_error(YYLEX_PARAM, s) /* needed for bison++
1.21.11-3 */
#define YYMALLOC malloc
#define YYFREE free
+#define YY_parse_LSP_NEEDED /* needed for bison++ 1.21.11-3 */
+
#define FALSE 0
#define TRUE 1
------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
Monetdb-sql-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-sql-checkins