Bug 15476 – DDOC_UNDEFINED_MACRO is undocumented

Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P1
Component
dlang.org
Product
D
Version
D2
Platform
x86_64
OS
Linux
Creation time
2015-12-24T20:55:57Z
Last change time
2022-08-10T11:11:32Z
Keywords
pull
Assigned to
No Owner
Creator
Adam D. Ruppe

Comments

Comment #0 by destructionator — 2015-12-24T20:55:57Z
http://dlang.org/spec/ddoc.html "If the macro name is undefined, the replacement text has no characters in it." Not true.
Comment #1 by dlang-bot — 2022-08-07T10:25:28Z
@ntrel created dlang/dlang.org pull request #3365 "[spec/ddoc] Improve macro expansion section" fixing this issue: - [spec/ddoc] Improve macro expansion section Fixes Issue 15476 - DDOC_UNDEFINED_MACRO is undocumented. Format more inline code. Improve wording of macro expansions. Use bullet points. Mention DDOC_UNDEFINED_MACRO. Use RELATIVE_LINK2 macro. Add 'Macro Arguments' and 'Macro Definitions' subheadings. Add note about literal commas in an argument. https://github.com/dlang/dlang.org/pull/3365
Comment #2 by dlang-bot — 2022-08-10T11:11:32Z
dlang/dlang.org pull request #3365 "[spec/ddoc] Improve macro expansion section" was merged into master: - 47045738bca013ef68f582b155752d032f865563 by Nick Treleaven: [spec/ddoc] Improve macro expansion section Fixes Issue 15476 - DDOC_UNDEFINED_MACRO is undocumented. Format more inline code. Improve wording of macro expansions. Use bullet points. Mention DDOC_UNDEFINED_MACRO. Use RELATIVE_LINK2 macro. Add 'Macro Arguments' and 'Macro Definitions' subheadings. Add note about literal commas in an argument. https://github.com/dlang/dlang.org/pull/3365