mayah / tinytoml

A header only C++11 library for parsing TOML
BSD 2-Clause "Simplified" License
167 stars 31 forks source link

Make "typeToString()" public? #44

Open heyx3 opened 4 years ago

heyx3 commented 4 years ago

It would be nice if my own code could access "typeToString()", for example when generating error messages in my own parsing code (e.x. Expected a 'string', but got 'table'). Is there a reason it was left private?

mayah commented 4 years ago

I didn't expect it's publicly used, but probably OK to expose it. (patch welcome 😃)

heyx3 commented 4 years ago

Sure! I'll try to make one tonight.