"delete" ada-lex.c:input function, not used.
authorJoel Brobecker <brobecker@gnat.com>
Tue, 19 Jan 2010 09:50:48 +0000 (09:50 +0000)
committerJoel Brobecker <brobecker@gnat.com>
Tue, 19 Jan 2010 09:50:48 +0000 (09:50 +0000)
        * ada-lex.l: #define YY_NO_INPUT.

gdb/ChangeLog
gdb/ada-lex.l

index c3f2df805b54ef7a8a6b340778f6a82b08486eb4..67d66515acf3ea84b5073ae66fa3cdf1d0bfd096 100644 (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.
index 2e6136e6f7c05129f3cc2838948e2555a85c0cd4..f198ea790c5e41323027edc2b13fe1059dddc879 100644 (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' ) \
This page took 0.026617 seconds and 4 git commands to generate.