* ch-lang.c (evaluate_subexp_chill): Fix typo.
authorFred Fish <fnf@specifix.com>
Sat, 23 Mar 1996 19:52:50 +0000 (19:52 +0000)
committerFred Fish <fnf@specifix.com>
Sat, 23 Mar 1996 19:52:50 +0000 (19:52 +0000)
gdb/ChangeLog
gdb/ch-lang.c

index 284905b..47dd22b 100644 (file)
@@ -1,3 +1,11 @@
+Sat Mar 23 12:14:02 1996  Fred Fish  <fnf@cygnus.com>
+
+       * ch-lang.c (evaluate_subexp_chill): Fix typo.
+
+Thu Mar 21 08:27:19 1996  Fred Fish  <fnf@cygnus.com>
+
+       * Makefile.in (VERSION): Bump version to 4.15.3
+
 Thu Mar 21 10:56:41 1996  Ian Lance Taylor  <ian@cygnus.com>
 
        * config.in: Rename from config.h.in.
index 12d2f98..8504d67 100644 (file)
@@ -521,7 +521,7 @@ evaluate_subexp_chill (expect_type, exp, pos, noside)
        {
        case TYPE_CODE_PTR:
          type = check_typedef (TYPE_TARGET_TYPE (type));
-         if (!type || TYPE_CODE (type) || TYPE_CODE_FUNC)
+         if (!type || TYPE_CODE (type) != TYPE_CODE_FUNC)
            error ("reference value used as function");
          /* ... fall through ... */
        case TYPE_CODE_FUNC: