Update of /cvsroot/monetdb/pathfinder/modules/pftijah/tjc
In directory sfp-cvsdas-1.v30.ch3.sourceforge.com:/tmp/cvs-serv2172

Modified Files:
      Tag: Feb2010
        tjc_scan.l 
Log Message:
The destroy function is only available in newer flexes, although I
don't know from which subminor version on.
This way it can compile with the older flex, although the bug that is
fixed by calling the destroy is then not fixed.


Index: tjc_scan.l
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/modules/pftijah/tjc/tjc_scan.l,v
retrieving revision 1.11.6.3
retrieving revision 1.11.6.4
diff -u -d -r1.11.6.3 -r1.11.6.4
--- tjc_scan.l  28 Jan 2010 10:33:06 -0000      1.11.6.3
+++ tjc_scan.l  28 Jan 2010 15:04:45 -0000      1.11.6.4
@@ -253,7 +253,11 @@
 
 void setTJCscanstring(const char *s) { tjc_scan_string(s); }
 
-void destroyTJCscanBuffer(void) { tjclex_destroy(); }
+void destroyTJCscanBuffer(void) {
+#if defined(YY_FLEX_SUBMINOR_VERSION) && YY_FLEX_SUBMINOR_VERSION >= 35
+       tjclex_destroy();
+#endif
+}
 
 /* vim:set shiftwidth=4 expandtab: */
 


------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
Monetdb-pf-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-pf-checkins

Reply via email to