Skip to content

Commit

Permalink
Bug: missing call to comparision operators fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
raypinto committed Jul 27, 2019
1 parent 04bdcb7 commit b8d08d6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions code_generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b8d08d6

Please sign in to comment.