From 768c4a49d3aa8c111ef3a2423fae5dcb082185ef Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Wed, 27 Jun 2001 21:43:10 +0000 Subject: [PATCH] fix . type checking --- tools/qfcc/source/expr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/qfcc/source/expr.c b/tools/qfcc/source/expr.c index 69936f3bd..6f443771e 100644 --- a/tools/qfcc/source/expr.c +++ b/tools/qfcc/source/expr.c @@ -415,7 +415,7 @@ field_expr (expr_t *e1, expr_t *e2) t1 = get_type (e1); t2 = get_type (e2); - if (t1 != ev_entity && t2 != ev_field) { + if (t1 != ev_entity || t2 != ev_field) { yyerror ("type missmatch for ."); return 0; }