From e205e00c81b4422ac5a9d606c50744f4ddea3c92 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fredrik=20H=C3=BCbinette=20=28Hubbe=29?= <hubbe@hubbe.net> Date: Thu, 30 Jul 1998 23:51:41 -0700 Subject: [PATCH] fixed a fatal bug Rev: src/docode.c:1.39 --- src/docode.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/docode.c b/src/docode.c index 3866fb9e1a..627cd81c35 100644 --- a/src/docode.c +++ b/src/docode.c @@ -4,7 +4,7 @@ ||| See the files COPYING and DISCLAIMER for more information. \*/ #include "global.h" -RCSID("$Id: docode.c,v 1.38 1998/05/25 10:38:44 hubbe Exp $"); +RCSID("$Id: docode.c,v 1.39 1998/07/31 06:51:41 hubbe Exp $"); #include "las.h" #include "program.h" #include "language.h" @@ -425,7 +425,7 @@ static int do_docode2(node *n,int flags) case F_LOR: tmp1=alloc_label(); do_cond_jump(CAR(n), tmp1, n->token == F_LOR, 0); - if(do_docode(CDR(n),0)!=1) fatal("Compiler logical error.\n"); + code_expression(CDR(n), flags, n->token == F_LOR ? "||" : "&&"); emit(F_LABEL,tmp1); return 1; -- GitLab