diff --git a/blueprintcompiler/parse_tree.py b/blueprintcompiler/parse_tree.py index 6634994..ef8586b 100644 --- a/blueprintcompiler/parse_tree.py +++ b/blueprintcompiler/parse_tree.py @@ -287,7 +287,9 @@ class Warning(ParseNode): ctx.warnings.append( CompileWarning(self.message, start_token.start, end_token.end) ) - return True + return True + else: + return False class Fail(ParseNode):