Fix warnings in lexer/parser

This commit is contained in:
Michael Stapelberg 2009-09-29 22:47:37 +02:00
parent c4df9f1d95
commit 6aa0f965d2
2 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,6 @@
%option nounput
%option noinput
%{ %{
/* /*
* vim:ts=8:expandtab * vim:ts=8:expandtab

View File

@ -22,8 +22,12 @@
#include "workspace.h" #include "workspace.h"
#include "xcb.h" #include "xcb.h"
typedef struct yy_buffer_state *YY_BUFFER_STATE;
extern int yylex(void); extern int yylex(void);
extern int yyparse(void);
extern FILE *yyin; extern FILE *yyin;
YY_BUFFER_STATE yy_scan_string(const char *);
static struct bindings_head *current_bindings; static struct bindings_head *current_bindings;