Created attachment 124952 [details] [review]
Fix using many common-refs in messages
If I use more than one common-ref in message definition, code generator replaces it incorrectly. Compilation error raised.
The patch fixes it.