summaryrefslogtreecommitdiff
path: root/misc.c
diff options
context:
space:
mode:
authormillaway <millaway>2002-04-13 04:08:57 +0000
committermillaway <millaway>2002-04-13 04:08:57 +0000
commit7d1d05c6b75c0a783fbc93ea36634a2c1002dec9 (patch)
treecd0275438aa4acdc0e6674d04ac1a78b1d076c6d /misc.c
parente832e66d75ad0ee2ba1ef79f807e3002eed0095a (diff)
downloadflex-7d1d05c6b75c0a783fbc93ea36634a2c1002dec9.tar.gz
Replaced exit(2) calls with longjmps (in the form of FLEX_EXIT macro).
Moved main() to flex_main() to allow flex to be called from a library.
Diffstat (limited to 'misc.c')
-rw-r--r--misc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/misc.c b/misc.c
index 967a413..ef8eced 100644
--- a/misc.c
+++ b/misc.c
@@ -348,7 +348,7 @@ const char msg[];
{
fprintf( stderr, _( "%s: fatal internal error, %s\n" ),
program_name, msg );
- exit( 1 );
+ FLEX_EXIT( 1 );
}