kconfig: split the lexer out of zconf.y

Compile zconf.lex.c independently of the other files.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
This commit is contained in:
Masahiro Yamada
2018-12-21 17:33:05 +09:00
parent 558e78e3ce
commit cbafbf7f55
4 changed files with 6 additions and 8 deletions

View File

@@ -90,6 +90,9 @@ void *xrealloc(void *p, size_t size);
char *xstrdup(const char *s);
char *xstrndup(const char *s, size_t n);
/* zconf.l */
int yylex(void);
struct gstr {
size_t len;
char *s;