summaryrefslogtreecommitdiffstats
path: root/mdoc_macro.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2017-01-10 12:53:07 +0000
committerIngo Schwarze <schwarze@openbsd.org>2017-01-10 12:53:07 +0000
commitb0911daecba940ec62df1e631a2f8a01d7ffe641 (patch)
tree46f9e09923d3ddcc524aa04bdc519661509a8142 /mdoc_macro.c
parent6a8c332380e498f7df739486f006b1a0d4bb4623 (diff)
downloadmandoc-b0911daecba940ec62df1e631a2f8a01d7ffe641.tar.gz
Introduce flags NODE_NOSRC and NODE_NOPRT for AST nodes.
Use them to mark generated nodes and nodes that shall not produce output. Let -Ttree output mode display these new flags. Use NODE_NOSRC for .Ar, .Mt, and .Pa default arguments. Use NODE_NOPRT for .Dd, .Dt, and .Os. These will help to make handling of text production macros more rigorous.
Diffstat (limited to 'mdoc_macro.c')
0 files changed, 0 insertions, 0 deletions