- now compiles with readline V4 headers
authorChristian Bauer <Christian.Bauer@uni-mainz.de>
Mon, 10 Jan 2000 21:00:21 +0000 (21:00 +0000)
committerChristian Bauer <Christian.Bauer@uni-mainz.de>
Mon, 10 Jan 2000 21:00:21 +0000 (21:00 +0000)
ginsh/ginsh_parser.yy

index 0134ab15ced455d8a4786d47fdd6d4a0bac995a9..caac8b47d2eafddda701b65a4f9718b6f0671ab2 100644 (file)
@@ -713,12 +713,12 @@ 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;
-               return completion_matches(text, filename_completion_function);
+               return completion_matches(text, (CPFunction *)filename_completion_function);
        } else {
                // Otherwise, complete function names
                rl_completion_append_character = '(';
                rl_basic_word_break_characters = " \t\n\"#$%&'()*+,-./:;<=>?@[\\]^`{|}~";
-               return completion_matches(text, fcn_generator);
+               return completion_matches(text, (CPFunction *)fcn_generator);
        }
 }