From b9aa6215c9345163c205c04c320f73abf87c6d73 Mon Sep 17 00:00:00 2001 From: Fred Fish Date: Sat, 23 Mar 1996 19:52:50 +0000 Subject: [PATCH] * ch-lang.c (evaluate_subexp_chill): Fix typo. --- gdb/ChangeLog | 8 ++++++++ gdb/ch-lang.c | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 284905b7f96..47dd22b95a9 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,11 @@ +Sat Mar 23 12:14:02 1996 Fred Fish + + * ch-lang.c (evaluate_subexp_chill): Fix typo. + +Thu Mar 21 08:27:19 1996 Fred Fish + + * Makefile.in (VERSION): Bump version to 4.15.3 + Thu Mar 21 10:56:41 1996 Ian Lance Taylor * config.in: Rename from config.h.in. diff --git a/gdb/ch-lang.c b/gdb/ch-lang.c index 12d2f988c6e..8504d670a52 100644 --- a/gdb/ch-lang.c +++ b/gdb/ch-lang.c @@ -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: -- 2.30.2