diff --git a/src/cfgparse.l b/src/cfgparse.l index c54d346c..afe5c84e 100644 --- a/src/cfgparse.l +++ b/src/cfgparse.l @@ -1,3 +1,6 @@ +%option nounput +%option noinput + %{ /* * vim:ts=8:expandtab diff --git a/src/cfgparse.y b/src/cfgparse.y index a1c7aeef..8a358454 100644 --- a/src/cfgparse.y +++ b/src/cfgparse.y @@ -22,8 +22,12 @@ #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;