aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Fedor <fedor@gnu.org>2002-11-19 15:23:58 +0000
committerAdam Fedor <fedor@gnu.org>2002-11-19 15:23:58 +0000
commite8afa4d79761d71bfd58facfa783daec3002eb31 (patch)
tree07332c841496a50008bdc21fb261d53b19a26634
parenta76c9d7283f7568a869aba45fdc0909f92176937 (diff)
downloadgdb-e8afa4d79761d71bfd58facfa783daec3002eb31.zip
gdb-e8afa4d79761d71bfd58facfa783daec3002eb31.tar.gz
gdb-e8afa4d79761d71bfd58facfa783daec3002eb31.tar.bz2
Revert to old skip_quoted usage.
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/objc-exp.y4
2 files changed, 5 insertions, 3 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index bac5013..fd0b462 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,9 @@
2002-11-19 Adam Fedor <fedor@gnu.org>
+ * objc-exp.y: Revert to old skip_quoted usage.
+
+2002-11-19 Adam Fedor <fedor@gnu.org>
+
* Makefile.in (SFILES): Add objc-exp.y objc-lang.c.
(objc_lang_h): Define.
(YYFILES): Add objc-exp.tab.c.
diff --git a/gdb/objc-exp.y b/gdb/objc-exp.y
index cb9bb45..69eedd6 100644
--- a/gdb/objc-exp.y
+++ b/gdb/objc-exp.y
@@ -1305,9 +1305,7 @@ yylex ()
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;