From df0b7bed48cc77d44ad039291bc5638bbaac52d1 Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Fri, 10 Jun 2011 02:25:14 +0200 Subject: [PATCH] cmdparse: s/direction/split_direction to be more clear --- src/cmdparse.y | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/cmdparse.y b/src/cmdparse.y index 61903398..a540efed 100644 --- a/src/cmdparse.y +++ b/src/cmdparse.y @@ -171,6 +171,7 @@ char *parse_cmd(const char *new) { %token NUMBER "" %type direction +%type split_direction %type level %type boolean %type border_style @@ -526,7 +527,7 @@ fullscreen: ; split: - TOK_SPLIT direction + TOK_SPLIT split_direction { /* TODO: use matches */ printf("splitting in direction %c\n", $2); @@ -536,7 +537,7 @@ split: } ; -direction: +split_direction: TOK_HORIZONTAL { $$ = 'h'; } | 'h' { $$ = 'h'; } | TOK_VERTICAL { $$ = 'v'; } -- 2.39.5