From fa02a855e84968ae60dbb7993178cc222bf040f8 Mon Sep 17 00:00:00 2001 From: David Given Date: Sat, 31 Dec 2016 00:14:04 +0000 Subject: [PATCH] Fix issue where !x was actually calculating !!x. --- lang/b/compiler/b1.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lang/b/compiler/b1.c b/lang/b/compiler/b1.c index 30ce5c7f7..e959e797b 100644 --- a/lang/b/compiler/b1.c +++ b/lang/b/compiler/b1.c @@ -291,7 +291,7 @@ rcexpr(struct tnode *tr) case EXCLA: rcexpr(tr->tr1); - C_tne(); + C_teq(); return; case NEG: