diff options
author | Klee Dienes <kdienes@apple.com> | 2002-11-20 08:58:01 +0000 |
---|---|---|
committer | Klee Dienes <kdienes@apple.com> | 2002-11-20 08:58:01 +0000 |
commit | 19b51b9061547fe7bd454e036715cfa325e612b8 (patch) | |
tree | 8df800304d781b8dd1f06c0a02133da9af51899f /gdb/completer.h | |
parent | 50fca0a56c3bda789fbb8afabc37b791ad246206 (diff) | |
download | gdb-19b51b9061547fe7bd454e036715cfa325e612b8.tar.gz |
2002-11-19 Klee Dienes <kdienes@apple.com>
Adam Fedor <fedor@gnu.org>
* completer.c (skip_quoted_chars): Renamed from skip_chars. Add
the ability to explicitly specify the quote characters and word
break characters; if NULL is specified for either, use the old
behavior of using the characters used by the completer.
(skip_chars): New function. Convenience wrapper around
skip_quoted_chars to provide the original skip_chars behavior.
* completer.h (skip_quoted_chars): Add prototype.
Diffstat (limited to 'gdb/completer.h')
-rw-r--r-- | gdb/completer.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gdb/completer.h b/gdb/completer.h index 98b9ed83745..b0362314e7e 100644 --- a/gdb/completer.h +++ b/gdb/completer.h @@ -39,6 +39,8 @@ extern char *get_gdb_completer_quote_characters (void); /* Exported to linespec.c */ -extern char *skip_quoted (char *str); +extern char *skip_quoted_chars (char *, char *, char *); + +extern char *skip_quoted (char *); #endif /* defined (COMPLETER_H) */ |