mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-03-21 09:51:41 +00:00
fix . type checking
This commit is contained in:
parent
b285ab003d
commit
768c4a49d3
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue