# HG changeset patch # User jwe # Date 755035297 0 # Node ID e4d5f689f06d9baa81b3cba5c2fe3d23fb174742 # Parent 16a24e76d6e0287912c41e0200e03506eee5f438 [project @ 1993-12-04 20:01:37 by jwe] diff -r 16a24e76d6e0 -r e4d5f689f06d src/lex.l --- a/src/lex.l Fri Dec 03 02:00:15 1993 +0000 +++ b/src/lex.l Sat Dec 04 20:01:37 1993 +0000 @@ -751,15 +751,37 @@ } } +/* + * Include these so that we don't have to link to libfl.a. + */ + #ifdef yywrap #undef yywrap #endif -int +static int yywrap (void) { return 0; } +static void * +yy_flex_alloc (int size) +{ + return (void *) malloc ((unsigned) size); +} + +static void * +yy_flex_realloc (void *ptr, int size) +{ + return (void *) realloc (ptr, (unsigned) size); +} + +static void +yy_flex_free (void *ptr) +{ + free (ptr); +} + /* * Tell us all what the current buffer is. */