This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[PATCH] Fix skip_quoted usage in objc-exp.y
- From: Adam Fedor <fedor at doc dot com>
- To: gdb-patches at sources dot redhat dot com
- Date: Mon, 18 Nov 2002 20:30:07 -0700
- Subject: [PATCH] Fix skip_quoted usage in objc-exp.y
- Organization: Digital Optics Corp.
This is an obvious patch I'll put in soon.
2002-11-18 Adam Fedor <fedor@gnu.org>
* objc-exp.y: Revert to old skip_quoted usage.
Index: objc-exp.y
===================================================================
RCS file: /cvs/src/src/gdb/objc-exp.y,v
retrieving revision 1.5
diff -u -r1.5 objc-exp.y
--- objc-exp.y 20 Oct 2002 01:38:40 -0000 1.5
+++ objc-exp.y 19 Nov 2002 03:17:20 -0000
@@ -1305,9 +1305,7 @@
c = *lexptr++;
if (c != '\'')
{
- namelen = skip_quoted (tokstart,
- get_gdb_completer_word_break_characters())
- - tokstart;
+ namelen = skip_quoted (tokstart) - tokstart;
if (namelen > 2)
{
lexptr = tokstart + namelen;