lib/wlang/parser.rb in wlang-0.9.1 vs lib/wlang/parser.rb in wlang-0.9.2
- old
+ new
@@ -67,11 +67,10 @@
###################################################################### Facade on the file system
# Resolves an URI throught the current template
def file_resolve(uri)
- # TODO: refactor me to handle absolute URIs
template.file_resolve(uri)
end
###################################################################### Facade on wlang itself
@@ -183,10 +182,10 @@
unless match_at
unexpected_eof(source_text.length, '}') unless rules.empty?
self.<<(source_text[self.offset, 1+source_text.length-self.offset], false)
self.offset = source_text.length
end
- [buffer, self.offset-1]
+ [dialect.apply_post_transform(buffer), self.offset-1]
end
###################################################################### Callbacks for rule sets
#