summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwlestes <wlestes>2007-04-23 13:29:12 +0000
committerwlestes <wlestes>2007-04-23 13:29:12 +0000
commit14f171a31d9d7237918c14f6451f7fb46c1c76a4 (patch)
tree20f5580dea498f446555069e3e417eb4bf882c5b
parent23becdef9bd751dde117d8609eb96510af554cd4 (diff)
downloadflex-14f171a31d9d7237918c14f6451f7fb46c1c76a4.tar.gz
roll back c++ memory patch as it causes the test suite no end of grief
-rw-r--r--flex.skl7
1 files changed, 0 insertions, 7 deletions
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)