summaryrefslogtreecommitdiff
path: root/openbox
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2003-04-02 18:54:56 +0000
committerDana Jansens <danakj@orodu.net>2003-04-02 18:54:56 +0000
commit87fbee961fcf302ed92cbc2681375a3bea9ce713 (patch)
treeff3de441fe1e701a6452f2277c05ca33893e2bdc /openbox
parent089a7320ff201080a8aa1b591eacd9be1f88b5c3 (diff)
this should seriously work
Diffstat (limited to 'openbox')
-rw-r--r--openbox/parse.h10
-rw-r--r--openbox/parse.l5
2 files changed, 6 insertions, 9 deletions
diff --git a/openbox/parse.h b/openbox/parse.h
index 3c649db1..1b72667d 100644
--- a/openbox/parse.h
+++ b/openbox/parse.h
@@ -5,11 +5,11 @@
#include "y.tab.h"
typedef enum {
- TOKEN_REAL = REAL,
- TOKEN_INTEGER = INTEGER,
- TOKEN_STRING = STRING,
- TOKEN_IDENTIFIER = IDENTIFIER,
- TOKEN_BOOL = BOOL,
+ TOKEN_REAL,
+ TOKEN_INTEGER,
+ TOKEN_STRING,
+ TOKEN_IDENTIFIER,
+ TOKEN_BOOL,
TOKEN_LBRACKET = '(',
TOKEN_RBRACKET = ')',
TOKEN_LBRACE = '{',
diff --git a/openbox/parse.l b/openbox/parse.l
index c888b9f1..bab976c4 100644
--- a/openbox/parse.l
+++ b/openbox/parse.l
@@ -1,12 +1,9 @@
%{
-#include <glib.h>
-#include "y.tab.h"
+#include "parse.h"
#ifdef HAVE_STDLIB_H
# include <stdlib.h>
#endif
-extern void yyerror(char *err);
-
int yylineno = 1;
%}