jsmn icon indicating copy to clipboard operation
jsmn copied to clipboard

Improvement for JSMN_PARENT_LINKS

Open MacGritsch opened this issue 9 years ago • 2 comments

Would it make sense to insert a "template" in the header for JSMN_PARENT_LINKS? Something like this:

//  To enable JSMN_PARENT_LINKS uncomment the line below.
//  #define JSMN_PARENT_LINKS 1

MacGritsch avatar Nov 17 '15 14:11 MacGritsch

And maybe also for JSMN_STRICT, but that could also be defined in the c file instead of the header.

MacGritsch avatar Nov 17 '15 14:11 MacGritsch

Considering that we don't have c file any more and usage of library changed to just including a .h file, I guess a small comment about those two defines could be placed at top. I'm unsure if it's really helpful though.

pt300 avatar Apr 26 '19 16:04 pt300