lib/ruco/syntax_parser.rb in ruco-0.2.18 vs lib/ruco/syntax_parser.rb in ruco-0.2.19

- old
+ new

@@ -14,10 +14,10 @@ def self.syntax_for_lines(lines, languages) if syntax = syntax_node(languages) begin processor = syntax.parse(lines.join("\n"), Ruco::ArrayProcessor.new) processor.lines - rescue RegexpError + rescue RegexpError, ArgumentError $stderr.puts $! [] end else []