!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.


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

not works

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

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