Index: src/regexp/Makefile =================================================================== --- src/regexp/Makefile (.../branches/asheiduk) (revision 10) +++ src/regexp/Makefile (.../trunk) (revision 10) @@ -32,7 +32,7 @@ #============================================================================ -CFLAGS = -O -I. $(CFLAGS_ADDTL) +CFLAGS = -traditional -O -I. $(CFLAGS_ADDTL) ALL_CL = regexp/regexp.c regexp/regsub.c C_SRC = $(notdir $(ALL_CL)) Index: src/lexer.l =================================================================== --- src/lexer.l (.../branches/asheiduk) (revision 10) +++ src/lexer.l (.../trunk) (revision 10) @@ -116,6 +116,7 @@ "$Id: lexer.l,v 1.17 1999/08/20 19:51:12 tsjensen Exp tsjensen $"; +int yylineno = 1; static int yyerrcnt = 0; static char sdel = '\"'; @@ -137,7 +138,6 @@ %option noyywrap %option never-interactive %option caseless -%option noyylineno %x SAMPLE @@ -468,7 +468,7 @@ exit (EXIT_FAILURE); } yy_delete_buffer (YY_CURRENT_BUFFER); - yy_switch_to_buffer (yy_create_buffer (yyin, sinf.st_size+10)); + YY_CURRENT_BUFFER = yy_create_buffer (yyin, sinf.st_size+10); }