summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsrc/c99-flex.skl2
-rwxr-xr-xsrc/go-flex.skl2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/c99-flex.skl b/src/c99-flex.skl
index b01913d..9f48e3c 100755
--- a/src/c99-flex.skl
+++ b/src/c99-flex.skl
@@ -1626,7 +1626,7 @@ m4_ifdef( [[M4_MODE_USES_REJECT]], [[
new_state_buf = (yy_state_type *)yyrealloc( yyscanner->yy_state_buf, (new_size * sizeof(yy_state_type)), yyscanner );
if ( new_state_buf == NULL ) {
- YY_FATAL_ERROR( "out of dynamic memory in yylex()" );
+ yypanic( "out of dynamic memory in yylex()", yyscanner );
}
else {
yyscanner->yy_state_buf = new_state_buf;
diff --git a/src/go-flex.skl b/src/go-flex.skl
index e9ce1f1..9eb42d4 100755
--- a/src/go-flex.skl
+++ b/src/go-flex.skl
@@ -1476,7 +1476,7 @@ m4_ifdef( [[M4_MODE_USES_REJECT]], [[
newStateBuf = (yyStateType *)yyrealloc( yyscanner->yyStateBuf, (new_size * sizeof(yyStateType)), yyscanner );
if ( newStateBuf == NULL ) {
- YY_FATAL_ERROR( "out of dynamic memory in yylex()" );
+ yypanic( "out of dynamic memory in yylex()", yyscanner );
}
else {
yyscanner->yyStateBuf = newStateBuf;