!define @append broken

0 votes
asked Jun 17 in Bug by d0uub (220 points)

i use "!define a @append" very much on my each program since it replace my code comment as flow chart. however recent update define append broken.

works


@startuml
!define fileServer <color:green><&folder>ho-itd-pbrcs05</color>
@pause
@append start
@append :===initialization
@append #create fileServer ]
@append end
@enduml

not works


@startuml
!define a @append
!define fileServer <color:green><&folder>ho-itd-pbrcs05</color>
@pause
a start
a :===initialization
a #create fileServer ]
a end
@enduml

1 Answer

+1 vote
answered Jun 18 by plantuml (202,780 points)
Well, it was not designed that way and it's only by chance that "!define a @append" was working...

Now implementing this with the new preprocessor is not easy.

As workaround, we could allow the use of "@a" as shortcut for "@append" .

Would that be ok for you ?
commented Jul 19 by d0uub (220 points)
yes! please! thank you
commented Jul 21 by plantuml (202,780 points)
Ok, so this has been implemented in last beta http://beta.plantuml.net/plantuml.jar

Tell us if it's not working for you
...