lib/yoga/parser.rb in yoga-0.3.2 vs lib/yoga/parser.rb in yoga-0.4.1
- old
+ new
@@ -11,9 +11,10 @@
# Initialize the parser.
#
# @param tokens [::Enumerable<Yoga::Token>]
def initialize(tokens)
@tokens = tokens
+ @buffer = []
end
# Performs the parsing.
#
# @return [Yoga::Node]