implement node walker in direction of out-edges
[libfirm] / ir / libcore / lc_config_lexer.l
index ec48dce..c86f21b 100644 (file)
 #include "lc_parser_t.h"
 #include "lc_config_parser.h"
 
-static int _lc_opt_wrap(void)
-{
-       return 1;
-}
+#define YY_NO_UNISTD_H
+
+static int _lc_opt_wrap(void);
 
 %}
 
@@ -105,3 +104,11 @@ nl              \n
 .                   return yytext[0];
 
 %%
+
+static int _lc_opt_wrap(void)
+{
+       /* avoid warning */
+       (void) yyunput;
+       (void) input;
+       return 1;
+}