diff options
author | Joel Brobecker <brobecker@gnat.com> | 2010-01-19 09:50:48 +0000 |
---|---|---|
committer | Joel Brobecker <brobecker@gnat.com> | 2010-01-19 09:50:48 +0000 |
commit | 19aebea2787cb588cd845758cfbf6bbd755421c3 (patch) | |
tree | ad1a6440ac01bb654d3cd0b02a920481be094471 /gdb/ada-lex.l | |
parent | 860ea628611ffca5f845bd181310c617dd358068 (diff) | |
download | gdb-19aebea2787cb588cd845758cfbf6bbd755421c3.tar.gz |
"delete" ada-lex.c:input function, not used.
* ada-lex.l: #define YY_NO_INPUT.
Diffstat (limited to 'gdb/ada-lex.l')
-rw-r--r-- | gdb/ada-lex.l | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/ada-lex.l b/gdb/ada-lex.l index 2e6136e6f7c..f198ea790c5 100644 --- a/gdb/ada-lex.l +++ b/gdb/ada-lex.l @@ -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' ) \ |