Update of /cvsroot/monetdb/pathfinder/modules/pftijah/tjc
In directory
sfp-cvsdas-1.v30.ch3.sourceforge.com:/tmp/cvs-serv28937/modules/pftijah/tjc
Modified Files:
tjc_scan.l
Log Message:
propagated changes of Thursday Jan 28 2010 - Friday Jan 29 2010
from the Feb2010 branch to the development trunk
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2010/01/28 - sjoerd: modules/pftijah/tjc/tjc_scan.l,1.11.6.4
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.13
retrieving revision 1.14
diff -u -d -r1.13 -r1.14
--- tjc_scan.l 28 Jan 2010 12:54:34 -0000 1.13
+++ tjc_scan.l 29 Jan 2010 08:56:35 -0000 1.14
@@ -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