11 lines
402 B
Plaintext
11 lines
402 B
Plaintext
--- pcomplete.c
|
|
+++ pcomplete.c 2009-03-04 11:58:05.296254166 +0000
|
|
@@ -1032,6 +1032,7 @@ gen_shell_function_matches (cs, text, li
|
|
cmdlist = build_arg_list (funcname, text, lwords, cw);
|
|
|
|
pps = &ps;
|
|
+ save_parser_state (pps);
|
|
begin_unwind_frame ("gen-shell-function-matches");
|
|
add_unwind_protect (restore_parser_state, (char *)pps);
|
|
add_unwind_protect (dispose_words, (char *)cmdlist);
|