nurpax / c64jasm

C64 6502 assembler in TypeScript
51 stars 14 forks source link

Support for windows line endings #61

Closed belab closed 5 years ago

belab commented 5 years ago

After creating a new file in VS code the assembler always complains about unexpected '\r' at end of lines. It would be nice, if c64jasm could support also different line endings than '\n'

belab commented 5 years ago

Right now I'm fine with the following workaround in my settings.json: "[asm]":{ "files.eol": "\n" },

nurpax commented 5 years ago

Thanks for reporting this!

Funny that I never ran into this. But I guess that's because I've almost exclusively used c64jasm on macOS or Linux. Should be easy to fix.

nurpax commented 5 years ago

This should be fixed in c64jasm 0.8.0. Just pushed it to npm.

Please reopen if it didn't work for you. I only tested this on Linux but I don't see why it wouldn't work on Windows now.

belab commented 4 years ago

Thanks for fixing it so quickly. I can confirm, it's working now.