estools / escodegen

ECMAScript code generator
BSD 2-Clause "Simplified" License
2.65k stars 335 forks source link

Fix #365 #432

Closed lucivpav closed 3 years ago

lucivpav commented 3 years ago

Fixes issue #365 (maybe more).

Changes:

fix of processing of parenthesized expressions that start with comments add tests the trailing comments are still the same (incorrect placement), but they do not affect the syntax (can be addressed in a future PR) blank line preservation: seems no new problems with this

This PR is a continuation of PR #425

lucivpav commented 3 years ago

CI is currently failing on master too.