Don't create a double stack frame when calling aliases
The old code created a new stack frame in parse_line_alias_special(), then another one in parse_line(). This prevented $functioncall() from working, and made the output of CALL look odd. |Rain| mentioned this years ago in starman.irc.
This commit is contained in:
@@ -1917,7 +1917,7 @@ char * parse_line_alias_special (char *name, char *what, char *args, int d1, int
|
||||
window_display = old_window_display;
|
||||
|
||||
will_catch_return_exceptions++;
|
||||
parse_line(NULL, what, args, d1, d2, 1);
|
||||
parse_line(NULL, what, args, d1, d2, 0);
|
||||
will_catch_return_exceptions--;
|
||||
return_exception = 0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user