Fix debug message in cfgparse.y (Thanks shatter)

This commit is contained in:
Michael Stapelberg 2009-10-23 22:57:35 +02:00
parent 37fbea6a8a
commit 15d83d472b
1 changed files with 3 additions and 1 deletions

View File

@ -407,9 +407,11 @@ screen:
assign: assign:
TOKASSIGN WHITESPACE window_class WHITESPACE optional_arrow assign_target TOKASSIGN WHITESPACE window_class WHITESPACE optional_arrow assign_target
{ {
printf("assignment of %s to %d\n", $<string>3, $<number>6); printf("assignment of %s\n", $<string>3);
struct Assignment *new = $<assignment>6; struct Assignment *new = $<assignment>6;
printf(" to %d\n", new->workspace);
printf(" floating = %d\n", new->floating);
new->windowclass_title = strdup($<string>3); new->windowclass_title = strdup($<string>3);
TAILQ_INSERT_TAIL(&assignments, new, assignments); TAILQ_INSERT_TAIL(&assignments, new, assignments);
} }