]> Dogcows Code - chaz/openbox/blobdiff - util/epist/epist.y
include the config.h header
[chaz/openbox] / util / epist / epist.y
index d956a4cabc02ce835d6b6f2b67610a18f22fa66a..d187e96f0c2f19c5da9222b46b0f83452df40813 100644 (file)
@@ -1,4 +1,8 @@
 %{
+#ifdef    HAVE_CONFIG_H
+#  include "../../config.h"
+#endif // HAVE_CONFIG_H
+
 #include <stdio.h>
 #include <string.h>
 #include "parser.hh"
@@ -20,7 +24,7 @@ void yyerror(const char *c) {
 
 %}
 
-%token OBRACE EBRACE SEMICOLON DASH NUMBER QUOTES WORD BINDING OPTIONS
+%token OBRACE EBRACE SEMICOLON DASH NUMBER QUOTES WORD BINDING OPTIONS TRUE FALSE
 
 %%
 
@@ -82,6 +86,8 @@ parameter:
     | NUMBER      { ((parser*)parser_obj)->setArgumentNum($1); }
     | DASH NUMBER { ((parser*)parser_obj)->setArgumentNegNum($2); }
     | QUOTES      { ((parser*)parser_obj)->setArgumentStr($1); }
+    | TRUE        { ((parser*)parser_obj)->setArgumentTrue($1); }
+    | FALSE       { ((parser*)parser_obj)->setArgumentFalse($1); }
     ;
 
 options_keyword:
This page took 0.025447 seconds and 4 git commands to generate.