Update of /cvsroot/monetdb/pathfinder/compiler/parser
In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv16795/compiler/parser
Modified Files:
parser.y
Log Message:
If we don't tell bison 2.4.1 which malloc/free to use, it will declare
them, and on Windows, it does it incorrectly.
U parser.y
Index: parser.y
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/compiler/parser/parser.y,v
retrieving revision 1.72
retrieving revision 1.73
diff -u -d -r1.72 -r1.73
--- parser.y 7 May 2009 14:28:16 -0000 1.72
+++ parser.y 3 Aug 2009 08:39:09 -0000 1.73
@@ -86,6 +86,10 @@
/* bison: generate verbose parsing error messages */
#define YYERROR_VERBOSE
+/* tell bison which malloc/free to use (needed for bison 2.4.1 on Windows) */
+#define YYMALLOC malloc
+#define YYFREE free
+
#define leaf(t,loc) p_leaf ((t), (loc))
#define wire1(t,loc,a) p_wire1 ((t), (loc), (a))
#define wire2(t,loc,a,b) p_wire2 ((t), (loc), (a), (b))
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Monetdb-pf-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-pf-checkins