diff options
author | millaway <millaway> | 2002-04-13 04:08:57 +0000 |
---|---|---|
committer | millaway <millaway> | 2002-04-13 04:08:57 +0000 |
commit | 7d1d05c6b75c0a783fbc93ea36634a2c1002dec9 (patch) | |
tree | cd0275438aa4acdc0e6674d04ac1a78b1d076c6d /misc.c | |
parent | e832e66d75ad0ee2ba1ef79f807e3002eed0095a (diff) | |
download | flex-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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -348,7 +348,7 @@ const char msg[]; { fprintf( stderr, _( "%s: fatal internal error, %s\n" ), program_name, msg ); - exit( 1 ); + FLEX_EXIT( 1 ); } |