* 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 284905b7f96588be4377dc1ce37fa7a6f9f0fef8..47dd22b95a9eb8de2da900dfa9aaef03aa8d86f8 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 12d2f988c6e5d97a7d00531959537716d62e73b4..8504d670a52f34cd49a9fc893786c9e158750fb5 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: