]> git.sur5r.net Git - i3/i3/commitdiff
Fix warnings in lexer/parser
authorMichael Stapelberg <michael@stapelberg.de>
Tue, 29 Sep 2009 20:47:37 +0000 (22:47 +0200)
committerMichael Stapelberg <michael@stapelberg.de>
Tue, 29 Sep 2009 20:47:37 +0000 (22:47 +0200)
src/cfgparse.l
src/cfgparse.y

index c54d346c3d6737e78390856d74ff55cdd61a484b..afe5c84e53896f99d62417f8fafe8f61b06c4788 100644 (file)
@@ -1,3 +1,6 @@
+%option nounput
+%option noinput
+
 %{
 /*
  * vim:ts=8:expandtab
index a1c7aeef819d6966a46fc0e332252815f09578e0..8a3584540bf043febf73c5da7e14ef673810dd74 100644 (file)
 #include "workspace.h"
 #include "xcb.h"
 
+
+typedef struct yy_buffer_state *YY_BUFFER_STATE;
 extern int yylex(void);
+extern int yyparse(void);
 extern FILE *yyin;
+YY_BUFFER_STATE yy_scan_string(const char *);
 
 static struct bindings_head *current_bindings;