Closed shuhei closed 10 years ago
Nice! but you seem to be passing the original error object in the place of options ??
@shuhei feel free to merge it when the travis build is fixed :) will publish it first thing in the morning, Thanks!
@deepak1556 Thanks! Fixed the CI error and stopped passing the original error. I'll merge as soon as Travis says OK.
Merging. By the way, it's weird to get unexpected MATH
on my mac and unexpected **
on Travis. Both of them are on Node v0.10.25. The meanings seem to be the same though.
@shuhei published :+1:
As @nickdima pointed out at #37, it would be nice to show file name and line number of syntax error.
Browserify and some transforms like coffeeify emits ParseError defined in node-syntax-error. It has file name and line number in
annotated
property. So let's use it if available.