diff --git a/examples/dsl/__main__.py b/examples/dsl/__main__.py index b95debc..425c10a 100644 --- a/examples/dsl/__main__.py +++ b/examples/dsl/__main__.py @@ -63,8 +63,6 @@ class Parser: def interactive_mode(parser): while cmd := input("Please enter command (Press to exit)\n"): - if not cmd: - break if res := parser.parse((cmd,)): print(res)