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

Modified Files:
      Tag: XQFT
        tjc_scan.l 
Log Message:
propagated changes of Friday Jan 29 2010
from the development trunk to the XQFT branch

  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  2010/01/29 - sjoerd: modules/pftijah/tjc/tjc_scan.l,1.14
  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.11.4.2
retrieving revision 1.11.4.3
diff -u -d -r1.11.4.2 -r1.11.4.3
--- tjc_scan.l  28 Jan 2010 12:57:34 -0000      1.11.4.2
+++ tjc_scan.l  29 Jan 2010 09:02:17 -0000      1.11.4.3
@@ -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