Update of /cvsroot/monetdb/pathfinder/modules/pftijah/tjc
In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv16795/modules/pftijah/tjc
Modified Files:
tjc_parse.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 tjc_parse.y
Index: tjc_parse.y
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/modules/pftijah/tjc/tjc_parse.y,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -d -r1.11 -r1.12
--- tjc_parse.y 18 May 2009 15:20:20 -0000 1.11
+++ tjc_parse.y 3 Aug 2009 08:39:10 -0000 1.12
@@ -45,6 +45,10 @@
#include <string.h>
#include "tjc_abssyn.h"
+/* tell bison which malloc/free to use (needed for bison 2.4.1 on Windows) */
+#define YYMALLOC malloc
+#define YYFREE free
+
extern int tjclex(void);
/* temporary string in memory */
------------------------------------------------------------------------------
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