Welcome to PlantUML Q&A, where you can ask questions and receive answers from other members of the community.

You can also submit new features request and vote for them.

Line number in Error message not correct

0 votes
Good morning,

I'm using plantuml with pipe mode and pipe delimiter, like:

java -jar plantuml.1.2017.13.ja -charset UTF-8 -tpng -pipe -pipdelimitor ===END_OF_PICTURE===

When making an error in a diagram the error messgae comes, as expected, in Ascii with line number.

This line number is corect if no defines are included, example:

@startplantuml

x -> y : hello

error

y -> x : ok

@endplantuml

 

Gives error:

ERROR

2

Syntax error: error

 

Bur adding a definition like:

@startplantuml

!define DOUBLE(x) x x

x -> y : hello

error

y -> x : ok

@endplantuml

 

The error message gives the line number 2 instead of 3.

 

With kind regards,

Stefan
asked May 19 in bug by anonymous

1 Answer

0 votes
Thanks for the feedback.

This should be fixed in last beta (beta9)

https://www.dropbox.com/s/koo42q3d9gxw288/plantuml.jar?dl=0

Tell us if it's not working for you!
answered May 23 by plantuml (126,850 points)
Thanks very much. Works correctly now.
With kind regards,
Stefan
Support This Project Offer 250 Mo! Follow PlantUML on Twitter
...