lib/minjs/exceptions.rb in minjs-0.1.3 vs lib/minjs/exceptions.rb in minjs-0.1.5

- old
+ new

@@ -13,10 +13,10 @@ t << super t << "\n" if @lex line, col = @lex.line_col(@lex_pos) t << "line: #{line}, col: #{col}\n" - t << @lex.debug_str(@lex_pos) + t << @lex.debug_str(@lex_pos, line, col) end t end end end