Refactor the code out of src/cmdparse.y to src/commands.c

This is the first step towards our new parser.
This commit is contained in:
Michael Stapelberg
2012-01-14 15:02:30 +00:00
parent 608def6c6e
commit f81c89ac28
5 changed files with 1153 additions and 779 deletions

View File

@ -195,7 +195,7 @@ cmd 'move left 20 px';
($absolute, $top) = $floatwin->rect;
is($absolute->x, ($absolute_before->x - 20), 'moved 10 px to the left');
is($absolute->x, ($absolute_before->x - 20), 'moved 20 px to the left');
is($absolute->y, $absolute_before->y, 'y not changed');
is($absolute->width, $absolute_before->width, 'width not changed');
is($absolute->height, $absolute_before->height, 'height not changed');