Comments are interpreted as code in macro

0 votes
asked Dec 10, 2017 in Closed bug by Anthony-Gaudino (7,790 points)
recategorized Jan 25 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 (187,940 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!
...