]> git.sur5r.net Git - i3/i3/commitdiff
cfgparse: use different literal strings for ambiguous keywords in bar context
authorMichael Stapelberg <michael@stapelberg.de>
Sun, 23 Oct 2011 15:41:23 +0000 (16:41 +0100)
committerMichael Stapelberg <michael@stapelberg.de>
Sun, 23 Oct 2011 15:41:23 +0000 (16:41 +0100)
src/cfgparse.y

index 178434d178da1c77243b7adec3aba21bd460f007..2d8bdba3b17bf449993ef488f62b2a482e6d300b 100644 (file)
@@ -693,14 +693,14 @@ void parse_file(const char *f) {
 %token                  TOK_BAR_OUTPUT              "output (bar)"
 %token                  TOK_BAR_TRAY_OUTPUT         "tray_output"
 %token                  TOK_BAR_SOCKET_PATH         "socket_path"
-%token                  TOK_BAR_MODE                "mode"
+%token                  TOK_BAR_MODE                "mode (bar)"
 %token                  TOK_BAR_HIDE                "hide"
 %token                  TOK_BAR_DOCK                "dock"
 %token                  TOK_BAR_POSITION            "position"
 %token                  TOK_BAR_BOTTOM              "bottom"
 %token                  TOK_BAR_TOP                 "top"
 %token                  TOK_BAR_STATUS_COMMAND      "status_command"
-%token                  TOK_BAR_FONT                "font"
+%token                  TOK_BAR_FONT                "font (bar)"
 %token                  TOK_BAR_WORKSPACE_BUTTONS   "workspace_buttons"
 %token                  TOK_BAR_VERBOSE             "verbose"
 %token                  TOK_BAR_COLORS              "colors"