[PATCH 1/1] Positional arguments: Fix off-by-one

2014-09-22 Thread thomas
From: Thomas Adam tho...@fvwm.org The number of conditional commands accepted as expansions in a function is 11, not 10. Fix the declaration for this, as well as using the definition for the number of arguments in a few other places where previously it was hard-coded. --- mvwm/cmdparser.h | 2

[PATCH 0/1] dv/new-parser: Fix positional argument parsing

2014-09-22 Thread thomas
From: Thomas Adam tho...@fvwm.org Dominik, In taking a look at the new parser code, I decided to run it over fvwm-themes and it crashed mvwm: #0 0x0b5d519aa865 in expand_vars (input=0x7f7f89b0 + I Mouse $0 $2 $3 $4 \$5\ \$6\ \$7\ \$8\ \$9\, pc=0x7f7f87c0, addto=1, ismod=0,