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 | 4e87b8328c4d70b7b41de90b608c7181afd8751b (patch) | |
tree | 2775f6cf858ed95af487748f0a8a162bdadec532 /gdb/completer.h | |
parent | 193eb15dbaa0b2c9bf31134ed7be6a417b57b6e8 (diff) | |
download | gdb-4e87b8328c4d70b7b41de90b608c7181afd8751b.zip gdb-4e87b8328c4d70b7b41de90b608c7181afd8751b.tar.gz gdb-4e87b8328c4d70b7b41de90b608c7181afd8751b.tar.bz2 |
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 98b9ed8..b036231 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) */ |