grammar: s/layout_mode/window_mode

This commit is contained in:
Michael Stapelberg 2010-05-11 23:04:21 +02:00
parent c75a6732bf
commit 5eae706427
1 changed files with 2 additions and 2 deletions

View File

@ -396,14 +396,14 @@ direction:
; ;
mode: mode:
TOK_MODE WHITESPACE layout_mode TOK_MODE WHITESPACE window_mode
{ {
printf("should switch mode to %s\n", ($<number>3 == TOK_FLOATING ? "floating" : "tiling")); printf("should switch mode to %s\n", ($<number>3 == TOK_FLOATING ? "floating" : "tiling"));
/* TODO: actually switch mode (not toggle) */ /* TODO: actually switch mode (not toggle) */
} }
; ;
layout_mode: window_mode:
TOK_FLOATING { $<number>$ = TOK_FLOATING; } TOK_FLOATING { $<number>$ = TOK_FLOATING; }
| TOK_TILING { $<number>$ = TOK_TILING; } | TOK_TILING { $<number>$ = TOK_TILING; }
; ;