Given that curly braces enclose items, it is
Pretty clear that the {'} is a stand alone quote, and the remainder of the line NOTE!.... is just a line of text, and passed through directly to the output.
However, if the code was
{'NOTE!.......}
then I assume it will behave correctly. perhaps reformatting it so the braces line up properly will reveal this.

~~~

'THIS IS A COMMENT

'NOTE! COMMENTS ARE IGNORED BY THE PROGRAM
~~~
the resulting LaTeX code has errors in it (the HTML looks fine):
\begin

                {
                DoxyCode
                }
\textcolor
        {
          stringliteral
        }
{'THIS IS A COMMENT}
\textcolor
       {
       stringliteral
        }
      {'}
        NOTE! COMMENTS ARE IGNORED BY THE PROGRAM
\end{DoxyCode}

This leads to the \textcolor command passing through to the PDF document. Also, the curly brace looks off in the second line.

Are there any fixes in more recent versions of doxygen? Or is there a workaround that's not too bad? Sometimes it helps to give the .m suffix, e.g. ~~~{.m}, to the code block - but weirdly, not always.

-----------
Paul Anton

------------------------------------------------------------------------------

_______________________________________________
Doxygen-users mailing list
<mailto:Doxygen-users@lists.sourceforge.net>Doxygen-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/doxygen-users

------------------------------------------------------------------------------
_______________________________________________
Doxygen-users mailing list
Doxygen-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/doxygen-users
------------------------------------------------------------------------------
_______________________________________________
Doxygen-users mailing list
Doxygen-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/doxygen-users

Reply via email to