nim-lang / c2nim

c2nim is a tool to translate Ansi C code to Nim. The output is human-readable Nim code that is meant to be tweaked by hand before and after the translation process.
MIT License
509 stars 63 forks source link

Fix comments starting with an extra space #230

Open planetis-m opened 2 years ago

planetis-m commented 2 years ago

If this change is acceptable I will fix the failing tests.

planetis-m commented 2 years ago

This make comments without a space like: //Comment appear # Comment. I've no idea what's the proper fix.

Araq commented 2 years ago

The proper fix would be in renderer.nim, I think.