Branch: Tag:

2000-11-25

2000-11-25 16:32:31 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Copy lexer.h to lexer[123].h.
This makes some compilers (eg gcc & lc generate better code.

Rev: src/Makefile.in:1.216
Rev: src/lex.c:1.83

5:   \*/   /**/   #include "global.h" - RCSID("$Id: lex.c,v 1.82 2000/10/30 19:01:21 grubba Exp $"); + RCSID("$Id: lex.c,v 1.83 2000/11/25 16:32:31 grubba Exp $");   #include "language.h"   #include "array.h"   #include "lex.h"
294:   /* Make lexers for shifts 0, 1 and 2. */      #define SHIFT 0 - #include "lexer.h" + #include "lexer0.h"   #undef SHIFT   #define SHIFT 1 - #include "lexer.h" + #include "lexer1.h"   #undef SHIFT   #define SHIFT 2 - #include "lexer.h" + #include "lexer2.h"   #undef SHIFT      int yylex(YYSTYPE *yylval)