fix if false logic

This commit is contained in:
Torsten Ruger 2016-03-07 11:51:58 +02:00
parent 324c9c2eae
commit 5c03db709f
1 changed files with 2 additions and 0 deletions

View File

@ -80,6 +80,8 @@ module Soml
def on_statements statement
w = Statements.new()
return w unless statement.children
return w unless statement.children.first
w.statements = process_all(statement.children)
w
end