From b8d08d671a10995700fa3d2f068a8634c47d9a81 Mon Sep 17 00:00:00 2001 From: Raymond Pinto Date: Sat, 27 Jul 2019 20:54:00 +0200 Subject: [PATCH] Bug: missing call to comparision operators fixed --- code_generator.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/code_generator.py b/code_generator.py index 64fde98..47dfb66 100644 --- a/code_generator.py +++ b/code_generator.py @@ -50,6 +50,9 @@ def code_generation(child, basic = True, var=True): if(child.tag == "fun"): code_gen_for_fun(child.children) + if(child.tag in op2): + code_gen_for_op(child.children, child.tag) + ###code_generation for let def code_gen_for_let(children): global let_count