Comments are interpreted as code in macro

0 votes
asked Dec 10, 2017 in bug by hukameniz (900 points)

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


Results in "something  ' My comment"

1 Answer

0 votes
answered Dec 11, 2017 by plantuml (138,660 points)
selected Dec 23, 2017 by hukameniz
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!