Hello,
I have did the tests and also created a new project from scratch and I can confirm I am seeing the same as you.
I was investigating further, and found out that this is linked to the version of Tresos.
Since I am using the version 28.8 and the plugin was originally released for version 14.
See the release notes.
2.4 Modules Configuration
Modules configurations were developed and tested using the Tresos Configuration Tool
version "EB tresos Studio 14.2.1 b140128-1223"
Colleague of mine who is AUOTSAR expert express that this nested macro error rise up if the plugin is very old and run in the newer versions of Tresos.
Best regards,
Peter