Lines 759-764
Link Here
|
759 |
static char ** |
759 |
static char ** |
760 |
flex_complete(char *text, int start, int end) |
760 |
flex_complete(char *text, int start, int end) |
761 |
{ |
761 |
{ |
|
|
762 |
#ifdef HAVE_RL_COMPLETION_APPEND_CHARACTER |
763 |
rl_completion_append_character ='\0'; |
764 |
rl_completion_suppress_append = 0; |
765 |
#endif |
762 |
Py_XDECREF(begidx); |
766 |
Py_XDECREF(begidx); |
763 |
Py_XDECREF(endidx); |
767 |
Py_XDECREF(endidx); |
764 |
begidx = PyInt_FromLong((long) start); |
768 |
begidx = PyInt_FromLong((long) start); |
Lines 799-809
Link Here
|
799 |
rl_completer_word_break_characters = |
803 |
rl_completer_word_break_characters = |
800 |
/* All nonalphanums except '.' */ |
804 |
/* All nonalphanums except '.' */ |
801 |
#ifdef HAVE_RL_COMPLETION_APPEND_CHARACTER |
|
|
802 |
rl_completion_append_character ='\0'; |
803 |
#endif |
804 |
|
805 |
|
805 |
begidx = PyInt_FromLong(0L); |
806 |
begidx = PyInt_FromLong(0L); |
806 |
endidx = PyInt_FromLong(0L); |
807 |
endidx = PyInt_FromLong(0L); |