A simple macro (!define) cannot call a multiline macro (!definelong)

0 votes
asked Jan 7, 2016 in Closed bug by anonymous
recategorized Jan 8, 2016
Try for example :

@startuml

!definelong go
 Bob -> Alice : hello
!enddefinelong

!define wrapper go

go
@enduml

1 Answer

0 votes
answered Jan 7, 2016 by plantuml (295,000 points)

Hi,

Thanks for the report.

This has been fixed in last beta https://dl.dropboxusercontent.com/u/13064071/plantuml.jar

You can now have:

@startuml

!definelong go
 Bob -> Alice : hello1a
 Bob -> Alice : hello2a
 Bob -> Alice : hello3a
!enddefinelong

!define wrapper go

wrapper
@enduml

Is this ok for you ?

Thanks!

...