For each symbol described by ddoc, file and line information should be available.
The file is global to the document so one DDOC_FILENAME macro definition should be provided. The path is relative.
The line is per-symbol and should be provided as input to a macro DDOC_DECL_LINE. That macro has two arguments, the symbol introduced and its line. By default
DDOC_DECL_LINE = $1
meaning the line is ignored (for backward compatibility).
For example, if a symbol foobar is being introduced at line 359, ddoc will expand
DDOC_DECL(DDOC_DECL_LINE(foobar, 359))
which with the default definition will expand to
$(DT $(BIG foobar))
Comment #1 by robert.schadek — 2024-12-13T18:11:30Z