]> granicus.if.org Git - flex/commitdiff
roll back c++ memory patch as it causes the test suite no end of grief
authorWill Estes <wlestes@users.sourceforge.net>
Mon, 23 Apr 2007 13:29:12 +0000 (13:29 +0000)
committerWill Estes <wlestes@users.sourceforge.net>
Mon, 23 Apr 2007 13:29:12 +0000 (13:29 +0000)
flex.skl

index 110a4ec494c725d6f37deb7f7ccedf3c9fda3176..75c2e6b9b9ac720c97d31ad1f555c3b7348242b1 100644 (file)
--- a/flex.skl
+++ b/flex.skl
@@ -2842,12 +2842,6 @@ m4_ifdef( [[M4_YY_HAS_START_STACK_VARS]],
         YY_G(yy_start_stack) = NULL;
 ]])
 
-%if-c++-only
-       delete [] YY_G(yy_state_buf);
-       yyfree(YY_G(yy_start_stack) M4_YY_CALL_LAST_ARG );
-%endif
-
-%if-c-only
 m4_ifdef( [[M4_YY_USES_REJECT]],
 [[
     yyfree ( YY_G(yy_state_buf) M4_YY_CALL_LAST_ARG);
@@ -2945,7 +2939,6 @@ static int yytbl_read8 (void *v, struct yytbl_reader * rd)
     }
     rd->bread += sizeof(flex_uint8_t);
     return 0;
-%endif
 }
 
 static int yytbl_read16 (void *v, struct yytbl_reader * rd)