Line number in Error message not correct

0 votes
asked May 19 in bug by anonymous
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

1 Answer

0 votes
answered May 23 by plantuml (134,570 points)
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!
commented May 23 by anonymous
Thanks very much. Works correctly now.
With kind regards,
Stefan
...