mozilla/sweet.js — pull request #359 by jlongster (2014-07-02 03:12:37+00:00)
Title: fix sourcemaps when macro is expanded on line 0

If you are generating a sourcemap and a macro expansion occurs on line 0 (at least in some cases), right now you get an "invalid source mapping" error. This fixes that. Sorry I don't have an exact test case right now... want me to add one? I guess it would be good to add to the tests.