Commit e4e3baab authored by Mark A. Grondona's avatar Mark A. Grondona
Browse files

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.
parent 61cd1115
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment