Thread overview | |||||||
---|---|---|---|---|---|---|---|
|
April 02, 2018 [Issue 18703] Ddoc Backticks inside macro dont work. | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=18703 Seb <greensunny12@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |greensunny12@gmail.com Hardware|x86_64 |All OS|Linux |All --- Comment #1 from Seb <greensunny12@gmail.com> --- Yeah this should really work.. If you depend on this - `$(D_INLINECODE` might be a workaround: https://run.dlang.io/is/A24qYc or: Macros: D = <code>$1</code> -- |
April 04, 2018 [Issue 18703] Ddoc Backticks inside macro dont work. | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=18703 --- Comment #2 from ArturG <var.spool.mail700@gmail.com> --- this might be the same/similar issue: $(DDOC_EXAMPLES --- void fun(int){} // highlighted $(FUN) // expanded but not highlighted --- ) MACROS: FUN = void fun(int){} -- |
December 17, 2022 [Issue 18703] Ddoc Backticks inside macro dont work. | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=18703 Iain Buclaw <ibuclaw@gdcproject.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P1 |P3 -- |
May 20, 2023 [Issue 18703] Ddoc Backticks inside macro dont work. | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=18703 ZombineDev <petar.p.kirov@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |ddoc CC| |petar.p.kirov@gmail.com -- |
May 20, 2023 [Issue 18703] Ddoc Backticks inside macro dont work. | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=18703 Adam D. Ruppe <destructionator@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |destructionator@gmail.com --- Comment #3 from Adam D. Ruppe <destructionator@gmail.com> --- The original intention was to keep defined macros not doing magic so you can use them to escape. In fact, if you look at the original PR, the escape $(BACKTICK) macro is defined just as =` which works because of this rule. https://github.com/dlang/dmd/pull/4228 However, since that is an individual `, the thing wouldn't generally be applied anyway so maybe this can change. -- |
Copyright © 1999-2021 by the D Language Foundation