mirror of
https://gitlab.gnome.org/jwestman/blueprint-compiler.git
synced 2025-05-04 15:59:08 -04:00
parse_tree: Fix Warning node
This commit is contained in:
parent
7ef314ff94
commit
be284de879
1 changed files with 3 additions and 1 deletions
|
@ -287,7 +287,9 @@ class Warning(ParseNode):
|
||||||
ctx.warnings.append(
|
ctx.warnings.append(
|
||||||
CompileWarning(self.message, start_token.start, end_token.end)
|
CompileWarning(self.message, start_token.start, end_token.end)
|
||||||
)
|
)
|
||||||
return True
|
return True
|
||||||
|
else:
|
||||||
|
return False
|
||||||
|
|
||||||
|
|
||||||
class Fail(ParseNode):
|
class Fail(ParseNode):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue