lib/opulent/compiler.rb in opulent-1.8.1 vs lib/opulent/compiler.rb in opulent-1.8.2

- old
+ new

@@ -61,9 +61,12 @@ # Remember last compiled node, required for pretty printing purposes @sibling_stack = [[[:root, nil]], []] # Set parent node, required for pretty printing @parent_stack = [] + + # Flag to determine whether we're inside a definition + @in_definition = false end # Compile input nodes, replace them with their definitions and # # @param root_node [Array] Root node containing all document nodes