lib/opulent/compiler.rb in opulent-1.8.0 vs lib/opulent/compiler.rb in opulent-1.8.1
- old
+ new
@@ -57,10 +57,10 @@
# Whenever we enter a definition compilation, add the provided blocks to
# the current block stack. When exiting a definition, remove blocks.
@block_stack = []
# Remember last compiled node, required for pretty printing purposes
- @sibling_stack = [[[:root, nil]]]
+ @sibling_stack = [[[:root, nil]], []]
# Set parent node, required for pretty printing
@parent_stack = []
end