Hello,
The snippet
@startuml
participant ashly
participant blake
!define blob_arw #202020
!define interact( task, src, msg, trg ) src [task##_arw]-> trg: msg
interact( blob, ashly, HELLO, blake )
@enduml
The intention is to have
ashly [#202020]-> blake: HELLO
But it happens the parser produces
ashly [blob_arw]-> blake: HELLO
signaling an error.
It seems to me that the macro expansion is stopped and does not go on further to replace blob_arw as it should do (since it is a macro)
I tried different tricks since I'm C programmer and deal with macros, but nor of them worked out. The usage of ## stops the expansion of that string.
Is there a way to workaround it? If not, do you think it is possible to add the feature?
Many thanks in advance