diff options
author | Fred Fish <fnf@specifix.com> | 1996-03-23 19:52:50 +0000 |
---|---|---|
committer | Fred Fish <fnf@specifix.com> | 1996-03-23 19:52:50 +0000 |
commit | b9aa6215c9345163c205c04c320f73abf87c6d73 (patch) | |
tree | 61a8fc729440496813ec4811ffd42dcf3335bf86 /gdb/ch-lang.c | |
parent | 8a1d8a0b60316b3b18e37f1b351a7137bb8f8ff0 (diff) | |
download | gdb-b9aa6215c9345163c205c04c320f73abf87c6d73.zip gdb-b9aa6215c9345163c205c04c320f73abf87c6d73.tar.gz gdb-b9aa6215c9345163c205c04c320f73abf87c6d73.tar.bz2 |
* ch-lang.c (evaluate_subexp_chill): Fix typo.
Diffstat (limited to 'gdb/ch-lang.c')
-rw-r--r-- | gdb/ch-lang.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/ch-lang.c b/gdb/ch-lang.c index 12d2f98..8504d67 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: |