lib/semlogr/templates/parser.rb in semlogr-0.2.0 vs lib/semlogr/templates/parser.rb in semlogr-0.2.1
- old
+ new
@@ -26,10 +26,10 @@
property_token, pos = parse_property_token(template, pos)
tokens.push(property_token) if property_token
end
- @template_cache[template] = Template.new(tokens)
+ @template_cache[template] = Template.new(template, tokens)
end
def self.parse_text_token(template, start)
token = nil
pos = start