Skip to content

Commit

Permalink
Fix return formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
nzbr committed May 12, 2019
1 parent ada0c94 commit e0e230b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pseudocode.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def else_generator(code):

def return_generator(code):
code = code.replace("return ", "")
return "\\Return " + code, None
return "\\State\\Return " + code, None


def state_generator(code):
Expand Down

0 comments on commit e0e230b

Please sign in to comment.