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