cgag / loc

Count lines of code quickly.
MIT License
2.31k stars 126 forks source link

Implement Lang to_s through macro #51

Closed nvzqz closed 6 years ago

nvzqz commented 7 years ago

With this, adding a language name is done right next to the variant.

This has no effect on the compiled result, just on how you work with the source.

cgag commented 6 years ago

Thanks a bunch of the PR, but I think I like the simplicity of doing it explicitly. I'm going to leave this open though and revisit it after I learn a bit more about macros.