Comments are interpreted as code in macro

0 votes
asked Dec 10, 2017 in Closed bug by Anthony-Gaudino (5,720 points)
recategorized Jan 25, 2018 by Anthony-Gaudino

If I define a macro like this:

!define mymacro something  ' My comment

The comment is included in the macro, this means that this code:

!define mymacro something  ' My comment

mymacro

Results in "something  ' My comment"

1 Answer

0 votes
answered Dec 11, 2017 by plantuml (294,960 points)
selected Dec 23, 2017 by Anthony-Gaudino
 
Best answer
We have slightly change the use of simple quote.

Now it can only be used if the whole line is a comment.

But you can use /'xxxx'/ syntax which works either at the begin or at the end of the line.

Sorry about those changes!
...