From 5eae70642777d9fdc961ff1d01c0927587ff39d2 Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Tue, 11 May 2010 23:04:21 +0200 Subject: [PATCH] grammar: s/layout_mode/window_mode --- src/cmdparse.y | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/cmdparse.y b/src/cmdparse.y index c1b30294..47faa7f7 100644 --- a/src/cmdparse.y +++ b/src/cmdparse.y @@ -396,14 +396,14 @@ direction: ; mode: - TOK_MODE WHITESPACE layout_mode + TOK_MODE WHITESPACE window_mode { printf("should switch mode to %s\n", ($3 == TOK_FLOATING ? "floating" : "tiling")); /* TODO: actually switch mode (not toggle) */ } ; -layout_mode: +window_mode: TOK_FLOATING { $$ = TOK_FLOATING; } | TOK_TILING { $$ = TOK_TILING; } ;