language.h (CAST_IS_CONVERSION): Add language_objc.
authorAdam Fedor <fedor@gnu.org>
Sat, 12 Oct 2002 02:39:12 +0000 (02:39 +0000)
committerAdam Fedor <fedor@gnu.org>
Sat, 12 Oct 2002 02:39:12 +0000 (02:39 +0000)
gdb/ChangeLog
gdb/language.h

index 531e838adbc2edc45ea426ad15cd76f4c8f8859b..895bced497a47f7b31accb38395abe6f6833a2e5 100644 (file)
@@ -1,3 +1,7 @@
+2002-10-11  Adam Fedor  <fedor@gnu.org>
+
+       * language.h (CAST_IS_CONVERSION): Add language_objc.
+
 2002-10-11  Adam Fedor  <fedor@gnu.org>
 
        * defs.h (enum language): Add language_objc.
index 67a8ff26afe0ee7065c559d4f6ff2fcc1b8ce704..b15544fead924083c5e6548f272921b4ed4e69e8 100644 (file)
@@ -288,7 +288,8 @@ language_mode;
 /* "cast" really means conversion */
 /* FIXME -- should be a setting in language_defn */
 #define CAST_IS_CONVERSION (current_language->la_language == language_c  || \
-                           current_language->la_language == language_cplus)
+                           current_language->la_language == language_cplus || \
+                           current_language->la_language == language_objc)
 
 extern void language_info (int);