Skip to content
Snippets Groups Projects
Commit e205e00c authored by Fredrik Hübinette (Hubbe)'s avatar Fredrik Hübinette (Hubbe)
Browse files

fixed a fatal bug

Rev: src/docode.c:1.39
parent 74b1c04e
No related branches found
No related tags found
No related merge requests found
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
||| See the files COPYING and DISCLAIMER for more information. ||| See the files COPYING and DISCLAIMER for more information.
\*/ \*/
#include "global.h" #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 "las.h"
#include "program.h" #include "program.h"
#include "language.h" #include "language.h"
...@@ -425,7 +425,7 @@ static int do_docode2(node *n,int flags) ...@@ -425,7 +425,7 @@ static int do_docode2(node *n,int flags)
case F_LOR: case F_LOR:
tmp1=alloc_label(); tmp1=alloc_label();
do_cond_jump(CAR(n), tmp1, n->token == F_LOR, 0); 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); emit(F_LABEL,tmp1);
return 1; return 1;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment