zevv / npeg

PEGs for Nim, another take
MIT License
330 stars 22 forks source link

Fixes for --styleCheck=usages #65

Closed Menduist closed 1 year ago

Menduist commented 1 year ago

--styleCheck=usages allows to check that the nim ident are used consistently. I went ahead and enabled them for the entire repo & fixed where necessary

But if you don't want that (which I completely understand), the only fix actually needed to use npeg in a --styleCheck=usages project is when npegGcsafe: because that's in a generic and the compiler doesn't like that

Please let me know if you like it as-is, or want the "minimal fix"

zevv commented 1 year ago

Nice, thanks for that.