projects
/
libfirm
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
implement node walker in direction of out-edges
[libfirm]
/
ir
/
libcore
/
lc_config_lexer.l
diff --git
a/ir/libcore/lc_config_lexer.l
b/ir/libcore/lc_config_lexer.l
index
ec48dce
..
c86f21b
100644
(file)
--- a/
ir/libcore/lc_config_lexer.l
+++ b/
ir/libcore/lc_config_lexer.l
@@
-30,10
+30,9
@@
#include "lc_parser_t.h"
#include "lc_config_parser.h"
#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];
%%
. return yytext[0];
%%
+
+static int _lc_opt_wrap(void)
+{
+ /* avoid warning */
+ (void) yyunput;
+ (void) input;
+ return 1;
+}