From 3971786ee146cf08c176e63635e9371c890d3ff3 Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Tue, 13 Aug 2002 21:16:42 +0000 Subject: [PATCH] clean up a follow on error for calling an undefined function --- tools/qfcc/source/expr.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tools/qfcc/source/expr.c b/tools/qfcc/source/expr.c index f231cc6c5..90a1f5b15 100644 --- a/tools/qfcc/source/expr.c +++ b/tools/qfcc/source/expr.c @@ -1597,6 +1597,9 @@ function_expr (expr_t *e1, expr_t *e2) t1 = extract_type (e1); + if (e1->type == ex_error) + return e1; + if (t1 != ev_func) { if (e1->type == ex_def) return error (e1, "Called object \"%s\" is not a function",