Completely new strategy for Singleton's PRIVATE data.
Fixed issue: Preprocessing of user C code + membrane pre-processing
resulted in duplicate PRIVATE struct for the definition: GCC understood
the elements were the same but IAR was strict about duplicate structs
errors.
Solution/Strategy: New behavior was inspired by the non-Singleton code
generation, using typedefs instead of direct struct use, guards, and
component private data initialization through a dedicated macro. Tests
were fixed accordingly.
Double semicolon fix: ";;" becomes ";" for _DECLARE_PRIVATEDATA:
This allows removing warnings with the CCS compiler.
Fix: Add missing 'c' structure field.
Improved comments/descriptions, now explaining each specific part role.
Fix comment format error in StringTemplate.
Avoid .macro comment serialization
Merge pull request #11 from Mind4SE/new-singleton-private-data

New singleton private data

Completely new strategy for Singleton's PRIVATE data.
New behavior inspired by the non-Singleton code generation, using typedefs instead of direct struct use, guards, and component private data initialization through a dedicated macro.
Keep track of inheritance info, for (and inspired by) mindoc.
Add sub-types info on parent definitions (for mindoc) as side-effect.
Now handling generic definitions inheritance sub-types info
Fix inheritance decorations licence info