spank: consolidate common code in _do_call_stack
Simplify code in _do_call_stack() by extracting case statement to assign current callback symbol to its own function. Since all spank functions have the same prototype we can then use the same code to call _all_ callbacks, reducing greatly the number of lines of code required.
Please register or sign in to comment