[Issue 12383] dlang.org operator overloading text with DDoc macro.
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Mon Apr 21 04:29:48 PDT 2014
https://issues.dlang.org/show_bug.cgi?id=12383
alix.pexton at gmail.com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |alix.pexton at gmail.com
--- Comment #1 from alix.pexton at gmail.com ---
This occurs every time that the METACODE macro appears directly inside quotes,
therefore it might actually be considered a bug in DDoc (I don't see anything
in the documentation for macros that says macros are treated differently when
they appear in quotes). Perhaps in cases like this the macro should be placed
inside another macro that add the quotes, so
"($METACODE op)"
becomes
($q (($METACODE op))
where
q = $0
--
More information about the Digitalmars-d-bugs
mailing list