Error when using !include in @startuml

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Error when using !include in @startuml

Vega, Luis A

The following snippet will produce a runtime error:

@startuml

    !include diagram.iuml

@enduml

 

The output error is the following:

Error line 2 in file: <path>\html\diagram.pu

Some diagram description contains errors

 

The generated file (diagram.pu) looks as follows:

@startuml        !include diagram.pu

      @enduml

 

As you can see, the problem is that Doxygen failed to insert a return character after @startuml

 

Workaround: insert an empty line between @startuml and !include

@startuml

 

    !include diagram. iuml

 

@enduml

 

 

 


------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
_______________________________________________
Doxygen-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/doxygen-users
Loading...