Skip to content

Commit

Permalink
Merge pull request #3 from AlexandraGrass/code_gen
Browse files Browse the repository at this point in the history
Bug: missing call to comparision operators fixed
  • Loading branch information
raypinto authored Jul 27, 2019
2 parents 1ab6c13 + b8d08d6 commit a2153f7
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 a2153f7

Please sign in to comment.