Fix debug message in cfgparse.y (Thanks shatter)
This commit is contained in:
parent
37fbea6a8a
commit
15d83d472b
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue