Message ID | 1306138239-13440-3-git-send-email-lacombar@gmail.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/scripts/genksyms/lex.l b/scripts/genksyms/lex.l index e4ddd49..adf75b6 100644 --- a/scripts/genksyms/lex.l +++ b/scripts/genksyms/lex.l @@ -28,9 +28,6 @@ #include <string.h> #include <ctype.h> -#include "genksyms.h" -#include "parse.h" - /* We've got a two-level lexer here. We let flex do basic tokenization and then we categorize those basic tokens in the second stage. */ #define YY_DECL static int yylex1(void) diff --git a/scripts/genksyms/parse.y b/scripts/genksyms/parse.y index ba5c242..c15e353 100644 --- a/scripts/genksyms/parse.y +++ b/scripts/genksyms/parse.y @@ -497,3 +497,5 @@ yyerror(const char *e) { error_with_pos("%s", e); } + +#include "lex.lex.c"