forked from Imagelibrary/binutils-gdb
import gdb-1999-08-02 snapshot
This commit is contained in:
@@ -77,7 +77,7 @@
|
||||
extern char *xmalloc (), *xrealloc ();
|
||||
|
||||
/* Variables imported from readline.c */
|
||||
extern int rl_point, rl_end, rl_mark, rl_done;
|
||||
extern int rl_point, rl_end, rl_mark;
|
||||
extern FILE *rl_instream;
|
||||
extern int rl_line_buffer_len, rl_explicit_arg, rl_numeric_arg;
|
||||
extern Keymap _rl_keymap;
|
||||
@@ -352,9 +352,9 @@ rl_vi_prev_word (count, key)
|
||||
}
|
||||
|
||||
if (_rl_uppercase_p (key))
|
||||
rl_vi_bWord (count);
|
||||
rl_vi_bWord (count, key);
|
||||
else
|
||||
rl_vi_bword (count);
|
||||
rl_vi_bword (count, key);
|
||||
|
||||
return (0);
|
||||
}
|
||||
@@ -374,9 +374,9 @@ rl_vi_next_word (count, key)
|
||||
}
|
||||
|
||||
if (_rl_uppercase_p (key))
|
||||
rl_vi_fWord (count);
|
||||
rl_vi_fWord (count, key);
|
||||
else
|
||||
rl_vi_fword (count);
|
||||
rl_vi_fword (count, key);
|
||||
return (0);
|
||||
}
|
||||
|
||||
@@ -392,16 +392,16 @@ rl_vi_end_word (count, key)
|
||||
}
|
||||
|
||||
if (_rl_uppercase_p (key))
|
||||
rl_vi_eWord (count);
|
||||
rl_vi_eWord (count, key);
|
||||
else
|
||||
rl_vi_eword (count);
|
||||
rl_vi_eword (count, key);
|
||||
return (0);
|
||||
}
|
||||
|
||||
/* Move forward a word the way that 'W' does. */
|
||||
int
|
||||
rl_vi_fWord (count)
|
||||
int count;
|
||||
rl_vi_fWord (count, ignore)
|
||||
int count, ignore;
|
||||
{
|
||||
while (count-- && rl_point < (rl_end - 1))
|
||||
{
|
||||
@@ -417,8 +417,8 @@ rl_vi_fWord (count)
|
||||
}
|
||||
|
||||
int
|
||||
rl_vi_bWord (count)
|
||||
int count;
|
||||
rl_vi_bWord (count, ignore)
|
||||
int count, ignore;
|
||||
{
|
||||
while (count-- && rl_point > 0)
|
||||
{
|
||||
@@ -441,8 +441,8 @@ rl_vi_bWord (count)
|
||||
}
|
||||
|
||||
int
|
||||
rl_vi_eWord (count)
|
||||
int count;
|
||||
rl_vi_eWord (count, ignore)
|
||||
int count, ignore;
|
||||
{
|
||||
while (count-- && rl_point < (rl_end - 1))
|
||||
{
|
||||
@@ -471,8 +471,8 @@ rl_vi_eWord (count)
|
||||
}
|
||||
|
||||
int
|
||||
rl_vi_fword (count)
|
||||
int count;
|
||||
rl_vi_fword (count, ignore)
|
||||
int count, ignore;
|
||||
{
|
||||
while (count-- && rl_point < (rl_end - 1))
|
||||
{
|
||||
@@ -497,8 +497,8 @@ rl_vi_fword (count)
|
||||
}
|
||||
|
||||
int
|
||||
rl_vi_bword (count)
|
||||
int count;
|
||||
rl_vi_bword (count, ignore)
|
||||
int count, ignore;
|
||||
{
|
||||
while (count-- && rl_point > 0)
|
||||
{
|
||||
@@ -536,8 +536,8 @@ rl_vi_bword (count)
|
||||
}
|
||||
|
||||
int
|
||||
rl_vi_eword (count)
|
||||
int count;
|
||||
rl_vi_eword (count, ignore)
|
||||
int count, ignore;
|
||||
{
|
||||
while (count-- && rl_point < rl_end - 1)
|
||||
{
|
||||
@@ -729,7 +729,7 @@ rl_vi_put (count, key)
|
||||
if (!_rl_uppercase_p (key) && (rl_point + 1 <= rl_end))
|
||||
rl_point++;
|
||||
|
||||
rl_yank ();
|
||||
rl_yank (1, key);
|
||||
rl_backward (1, key);
|
||||
return (0);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user