]> www.ginac.de Git - ginac.git/commitdiff
list of completion work break characters set correctly
authorChristian Bauer <Christian.Bauer@uni-mainz.de>
Wed, 31 Jan 2001 00:37:13 +0000 (00:37 +0000)
committerChristian Bauer <Christian.Bauer@uni-mainz.de>
Wed, 31 Jan 2001 00:37:13 +0000 (00:37 +0000)
ginsh/ginsh_parser.yy

index c479434e174b087ae8b914daf4497aed58e928ac..62418496f28e10f3728dfa28f37e0ea4d470f0dd 100644 (file)
@@ -700,11 +700,13 @@ static char **fcn_completion(char *text, int start, int end)
                // For shell commands, revert back to filename completion
                rl_completion_append_character = orig_completion_append_character;
                rl_basic_word_break_characters = orig_basic_word_break_characters;
+               rl_completer_word_break_characters = rl_basic_word_break_characters;
                return completion_matches(text, (CPFunction *)filename_completion_function);
        } else {
                // Otherwise, complete function names
                rl_completion_append_character = '(';
                rl_basic_word_break_characters = " \t\n\"#$%&'()*+,-./:;<=>?@[\\]^`{|}~";
+               rl_completer_word_break_characters = rl_basic_word_break_characters;
                return completion_matches(text, (CPFunction *)fcn_generator);
        }
 }