Merge remote-tracking branch 'origin/stable-2.0'
[bpt/guile.git] / libguile / c-tokenize.lex
index 1d9b40b..dc72257 100644 (file)
@@ -18,21 +18,12 @@ INTQUAL             (l|L|ll|LL|lL|Ll|u|U)
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
-  
-int yylex(void);
-
-int yyget_lineno (void);
-FILE *yyget_in (void);
-FILE *yyget_out (void);
-int yyget_leng (void);
-char *yyget_text (void);
-void yyset_lineno (int line_number);
-void yyset_in (FILE * in_str);
-void yyset_out (FILE * out_str);
-int yyget_debug (void);
-void yyset_debug (int  bdebug);
-int yylex_destroy (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;