Merge remote-tracking branch 'origin/stable-2.0'
[bpt/guile.git] / libguile / c-tokenize.lex
index cb5d239..dc72257 100644 (file)
@@ -19,8 +19,11 @@ INTQUAL              (l|L|ll|LL|lL|Ll|u|U)
 #include <stdlib.h>
 #include <string.h>
 
-int yylex(void);
-  
+/* Prevent compilation of static input() function in generated scanner
+   code.  This function is never actually used, and GCC 4.3 will emit
+   an error for that. */
+#define YY_NO_INPUT
+
 int filter_snarfage = 0;
 int print = 1;