* ch-lang.c (evaluate_subexp_chill): Fix typo.

This commit is contained in:
Fred Fish 1996-03-23 19:52:50 +00:00
parent 8a1d8a0b60
commit b9aa6215c9
2 changed files with 9 additions and 1 deletions

View 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.

View 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: