From: Will Estes Date: Mon, 23 Apr 2007 13:29:12 +0000 (+0000) Subject: roll back c++ memory patch as it causes the test suite no end of grief X-Git-Tag: flex-2-5-34~23 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=62b65100a94a9b91d07bc9b96343b1dfb1437f67;p=flex roll back c++ memory patch as it causes the test suite no end of grief --- diff --git a/flex.skl b/flex.skl index 110a4ec..75c2e6b 100644 --- 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)