diff options
author | Vincent JARDIN <vincent.jardin@6wind.com> | 2016-03-05 00:56:06 +0100 |
---|---|---|
committer | Gerrit Code Review <gerrit@fd.io> | 2016-03-14 03:41:05 +0000 |
commit | a5584254fca2d3cbb30a8a7912fa60e363b10a4d (patch) | |
tree | 44b5e50a5ee3319c213b885e190e0d7c161c8b5f | |
parent | f00f91a818ff059d162f81a3b424188860091771 (diff) |
lex - yylval undeclared
Fix compilation with Ubuntu 16.04/yacc:
$ yacc -V
yacc - 1.9 20140715
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu Xenial Xerus (development branch)
Release: 16.04
Codename: xenial
Change-Id: Ib1a6d7b7f9485db893465041ac6bce2a98ded2f7
Signed-off-by: Vincent JARDIN <vincent.jardin@6wind.com>
-rw-r--r-- | vppapigen/lex.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/vppapigen/lex.c b/vppapigen/lex.c index b9dc833ad23..b41eb5ec665 100644 --- a/vppapigen/lex.c +++ b/vppapigen/lex.c @@ -54,6 +54,7 @@ static void usage (char *); static int name_check (const char *, YYSTYPE *); static int name_compare (const char *, const char *); extern int yydebug; +extern YYSTYPE yylval; unsigned int crc32c_table[256] = { 0x00000000, 0xF26B8303, 0xE13B70F7, 0x1350F3F4, |