Mercurial > hg > octave-lyh
diff src/input.cc @ 4179:8734ba917fea
[project @ 2002-11-14 04:31:19 by jwe]
author | jwe |
---|---|
date | Thu, 14 Nov 2002 04:31:19 +0000 |
parents | 8b1da831dfeb |
children | e96f52432059 |
line wrap: on
line diff
--- a/src/input.cc +++ b/src/input.cc @@ -459,15 +459,19 @@ else retval = name; - if (matches == 1 && looks_like_struct (retval)) - { - // Don't append anything, since we don't know - // whether it should be '(' or '.'. - command_editor::set_completion_append_character ('\0'); - } - else - command_editor::set_completion_append_character - (Vcompletion_append_char); + // XXX FIXME XXX -- looks_like_struct is broken for now, + // so it always returns false. + + if (matches == 1 && looks_like_struct (retval)) + { + // Don't append anything, since we don't know + // whether it should be '(' or '.'. + + command_editor::set_completion_append_character ('\0'); + } + else + command_editor::set_completion_append_character + (Vcompletion_append_char); break; }