another checkpoint
[manmower/obtheme.git] / obtheme.l
index c87dc4d..889e6ad 100644 (file)
--- a/obtheme.l
+++ b/obtheme.l
@@ -4,6 +4,9 @@
 #include <stdlib.h>
 #include <string.h>
 #include <glib.h>
+#include "frame.h"
+#include "misc.h"
+#include "render.h"
 #include "obtheme.h"
 #include "obtheme.tab.h"
 
@@ -115,12 +118,22 @@ material          return MATERIAL;
 gradient               return GRADIENT;
 context                        return CONTEXT;
 cursor                 return CURSOR;
-class                  return CLASS;
+style                  return STYLE;
 up                     return UP;
 anchor                 return ANCHOR;
 opacity                        return OPACITY;
 shapeof                        return SHAPEOF;
 texture                        return TEXTURE;
+NORTH                  return NORTH;
+NORTHEAST              return NORTHEAST;
+EAST                   return EAST;
+SOUTHEAST              return SOUTHEAST;
+SOUTH                  return SOUTH;
+SOUTHWEST              return SOUTHWEST;
+WEST                   return WEST;
+NORTHWEST              return NORTHWEST;
+NONE                   return NONE;
+UNCHANGED              return UNCHANGED;
 
 0x[0-9A-Z]+            yylval->integer = strtol(yytext, (char **)NULL, 16); return NUMBER;
 [0-9]+                 yylval->integer = atoi(yytext); return NUMBER;