Error when using !include in @startuml

"Vega, Luis A" <[email protected]>
Newsgroups gmane.text.doxygen.general
Message-ID <[email protected]>
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/doxygen-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.