fix if false logic
This commit is contained in:
parent
324c9c2eae
commit
5c03db709f
@ -80,6 +80,8 @@ module Soml
|
|||||||
|
|
||||||
def on_statements statement
|
def on_statements statement
|
||||||
w = Statements.new()
|
w = Statements.new()
|
||||||
|
return w unless statement.children
|
||||||
|
return w unless statement.children.first
|
||||||
w.statements = process_all(statement.children)
|
w.statements = process_all(statement.children)
|
||||||
w
|
w
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user