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