diff --git a/lang/compile.py b/lang/compile.py index 04addc2..3330af8 100755 --- a/lang/compile.py +++ b/lang/compile.py @@ -117,7 +117,7 @@ return ASTSet(line[1], call) def parse_return(line): - if len(line) < 2 or line[0] != "Return": + if len(line) < 2 or len(line) > 3 or line[0] != "Return": print("not a return? line: %s" % (' '.join(line))) return None value = parse_value(line[1])