lib/rabbit/parser/rd.rb in rabbit-3.0.1 vs lib/rabbit/parser/rd.rb in rabbit-3.0.2

- old
+ new

@@ -36,10 +36,10 @@ def parse source = @source.read.gsub(/\r\n/, "\n") source = "=begin\n#{source}\n=end\n" tree = ::RD::RDTree.new(source) - visitor = RD2RabbitVisitor.new(@canvas) + visitor = RD2RabbitVisitor.new(@canvas, @progress) visitor.visit(tree) rescue Racc::ParseError message = format_parse_error_message($!.message, source) raise ParseError.new, message, $@ end