X-Git-Url: https://www.ginac.de/ginac.git//ginac.git?p=ginac.git;a=blobdiff_plain;f=ginsh%2Fginsh_parser.yy;h=caac8b47d2eafddda701b65a4f9718b6f0671ab2;hp=0134ab15ced455d8a4786d47fdd6d4a0bac995a9;hb=16228837ad98904f5b4f8e795da1316c073a4222;hpb=d40e9201f3373ca3f5e97fb4d4480826b9f854ab diff --git a/ginsh/ginsh_parser.yy b/ginsh/ginsh_parser.yy index 0134ab15..caac8b47 100644 --- a/ginsh/ginsh_parser.yy +++ b/ginsh/ginsh_parser.yy @@ -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); } }