summaryrefslogtreecommitdiff
path: root/usr.bin/mandoc/mdoc_macro.c
AgeCommit message (Expand)Author
2020-01-19Introduce a new mdoc(7) macro .Tg ("tag") to explicitly mark a placeIngo Schwarze
2020-01-19Align to the new, sane behaviour of the groff_mdoc(7) .Dd macro:Ingo Schwarze
2019-01-07Represent mdoc(7) .Pp (and .sp, and some SYNOPSIS and .Rs features)Ingo Schwarze
2019-01-01Correctly set the ROFF_NOFILL parser flag for .Bd .Ed .Sh, suchIngo Schwarze
2018-12-31Cleanup, minus 15 LOC, no functional change:Ingo Schwarze
2018-12-30Cleanup, no functional change:Ingo Schwarze
2018-12-21Rename mandoc_getarg() to roff_getarg() and pass it the roff parserIngo Schwarze
2018-12-14Almost mechanical diff to remove the "struct mparse *" argumentIngo Schwarze
2018-12-04Clean up the validation of .Pp, .PP, .sp, and .br. Make sure allIngo Schwarze
2018-08-17Remove more pointer arithmetic passing via regions outside the arrayIngo Schwarze
2017-05-30Macro argument quoting does not prevent recognition of punctuationIngo Schwarze
2017-05-05Move .sp to the roff modules. Enough infrastructure is in placeIngo Schwarze
2017-05-05move .ll to the roff modulesIngo Schwarze
2017-05-04Parser reorg:Ingo Schwarze
2017-04-29Parser unification: use nice ohashes for all three request and macro tables;Ingo Schwarze
2017-04-24Continue parser unification:Ingo Schwarze
2017-04-17Fix handling of trailing punctuation in .Lk.Ingo Schwarze
2017-02-16Fix block scoping error if an explicit block is broken by twoIngo Schwarze
2017-02-16Remove the ENDBODY_NOSPACE flag, simplifying the code.Ingo Schwarze
2017-02-11Never look for broken blocks inside blocks that are already closed.Ingo Schwarze
2017-02-11Do not prematurely close .Nd containing a broken child.Ingo Schwarze
2017-02-11Do not prematurely mark intermediate blocks as broken while scanningIngo Schwarze
2017-02-10For child macros of block-end macros, only scan backwards for pendingIngo Schwarze
2017-02-10Oops, the previous commit unintentionally included this file.Ingo Schwarze
2017-02-10In -Ttree output mode, show the BROKEN node flag andIngo Schwarze
2017-01-10unify names of AST node flags; no change of cpp outputIngo Schwarze
2016-08-20When a mismatching end macro occurs while at least two nested blocksIngo Schwarze
2016-08-20When scanning upwards for a column list to put a .Ta macro in,Ingo Schwarze
2016-08-13Even after switching from a pending head to the body, we have toIngo Schwarze
2015-10-20In order to become able to generate syntax tree nodes on the roff(7)Ingo Schwarze
2015-10-17Very tricky diff to fix macro interpretation and spacing around tabsIngo Schwarze
2015-10-15When blk_full() handles an .It line in .Bl -column and indirectlyIngo Schwarze
2015-10-12To make the code more readable, delete 283 /* FALLTHROUGH */ commentsIngo Schwarze
2015-10-06modernize style: "return" is not a function; ok cmp(1)Ingo Schwarze
2015-09-26/* NOTREACHED */ after abort() is silly, delete itIngo Schwarze
2015-05-01mdoc_valid_post() may indirectly call roff_node_unlink() which mayIngo Schwarze
2015-05-01Setting the "last" member of struct roff_node was done at an extremelyIngo Schwarze
2015-05-01Minor bug fix: When .Pp rewinds .Nm, rewind the whole block,Ingo Schwarze
2015-04-29If a block body gets broken, that's no good reason to extend theIngo Schwarze
2015-04-29Do not mark a block with the MDOC_BROKEN flag if it merely containsIngo Schwarze
2015-04-23Get rid of two empty wrapper functions. No functional change.Ingo Schwarze
2015-04-21Avoid a use after free when the target node is deleted during validation.Ingo Schwarze
2015-04-19Unify trickier node handling functions.Ingo Schwarze
2015-04-19Unify some node handling functions that use TOKEN_NONE.Ingo Schwarze
2015-04-19Decouple the token code for "no request or macro" from the individualIngo Schwarze
2015-04-19Unify node handling functions:Ingo Schwarze
2015-04-18Replace the structs mdoc and man by a unified struct roff_man.Ingo Schwarze
2015-04-05If a partial explicit block extending to the next input line followsIngo Schwarze
2015-04-05Reduce code duplication, no functional change:Ingo Schwarze
2015-04-05Arguments to end macros of broken partial explicit blocksIngo Schwarze