summaryrefslogtreecommitdiff
path: root/src/go-flex.skl
diff options
context:
space:
mode:
Diffstat (limited to 'src/go-flex.skl')
-rwxr-xr-xsrc/go-flex.skl2
1 files changed, 1 insertions, 1 deletions
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;