"delete" ada-lex.c:input function, not used.

* ada-lex.l: #define YY_NO_INPUT.
This commit is contained in:
Joel Brobecker 2010-01-19 09:50:48 +00:00
parent b74845da58
commit 0ec6cd0ca9
2 changed files with 9 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2010-01-19 Joel Brobecker <brobecker@adacore.com>
"delete" ada-lex.c:input function, not used.
* ada-lex.l: #define YY_NO_INPUT.
2010-01-19 Joel Brobecker <brobecker@adacore.com>
Delete free_named_symtabs and associated cleanup.

View File

@ -58,6 +58,10 @@ static int find_dot_all (const char *);
#undef YY_DECL
#define YY_DECL static int yylex ( void )
/* Flex generates a static function "input" which is not used.
Defining YY_NO_INPUT comments it out. */
#define YY_NO_INPUT
#undef YY_INPUT
#define YY_INPUT(BUF, RESULT, MAX_SIZE) \
if ( *lexptr == '\000' ) \