From: Michael Stapelberg Date: Thu, 17 Mar 2011 16:55:53 +0000 (+0100) Subject: change the config parser to use default_orientation instead of new_container_orientation X-Git-Tag: tree-pr3~120 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=65b05169d3f258fb7b4fab31fffa26fefaaf1103;p=i3%2Fi3 change the config parser to use default_orientation instead of new_container_orientation It’s a shorter and probably more meaningful description as it is not immediately clear what a container exactly is when first installing i3. --- diff --git a/src/cfgparse.l b/src/cfgparse.l index 4776527b..cc0dd320 100644 --- a/src/cfgparse.l +++ b/src/cfgparse.l @@ -92,7 +92,7 @@ set[^\n]* { return TOKCOMMENT; } ipc-socket { BEGIN(BIND_AWS_COND); return TOKIPCSOCKET; } ipc_socket { BEGIN(BIND_AWS_COND); return TOKIPCSOCKET; } restart_state { BEGIN(BIND_AWS_COND); return TOKRESTARTSTATE; } -new_container_orientation { return TOK_ORIENTATION; } +default_orientation { return TOK_ORIENTATION; } horizontal { return TOK_HORIZ; } vertical { return TOK_VERT; } auto { return TOK_AUTO; } diff --git a/src/cfgparse.y b/src/cfgparse.y index 50058680..68678b80 100644 --- a/src/cfgparse.y +++ b/src/cfgparse.y @@ -224,7 +224,7 @@ void parse_file(const char *f) { %token TOKCOLOR %token TOKARROW "→" %token TOKMODE "mode" -%token TOK_ORIENTATION "new_container_orientation" +%token TOK_ORIENTATION "default_orientation" %token TOK_HORIZ "horizontal" %token TOK_VERT "vertical" %token TOK_AUTO "auto"