sneakypete81 / atom-vhdl-entity-converter

Convert a VHDL entity into a component, instance or signal definitions, using the clipboard.
https://atom.io/packages/vhdl-entity-converter
GNU General Public License v3.0
8 stars 7 forks source link

fixed parser #11

Closed Nik-Sch closed 5 years ago

Nik-Sch commented 5 years ago

This fixes issue #10 by initially removing all comments before new lines get replaced by spaces and one can no longer tell where a comment had ended. (The change in lib/template.js is just to accommodate my coding style and environment)

sneakypete81 commented 5 years ago

Thanks very much @Nik-Sch - I've added a test and applied your fix in #12.