summaryrefslogtreecommitdiff
path: root/src/parser_combinators.ml
diff options
context:
space:
mode:
authorJessica Clarke2020-09-24 22:02:34 +0100
committerJessica Clarke2020-09-24 22:02:34 +0100
commite6dadf146f699a7ac28228659832d31100861d17 (patch)
treed9ede8241219029de255b4ccd9f29f473e711495 /src/parser_combinators.ml
parent70221a666d5106cfdc5991e2fa13636c73cac042 (diff)
Wrap saildoc LaTeX in \saildoclabelled macro
This takes two arguments: the label name and the \saildocfoo macro use itself. This allows cunning definitions of \saildoclabelled and \saildocfoo to tease apart the various bits and reconstruct them in a different order without having to redefine \phantomsection and \label temporarily and hard-code knowledge of the implementation of these documentation commands. I intend to use these in cheri-architecture in combination with sail-cheri-riscv. Unlike the other macros, this is considered a bit more niche, so we include a default definition of it that expands to what was previously hard-coded. This also makes this a non-breaking change.
Diffstat (limited to 'src/parser_combinators.ml')
0 files changed, 0 insertions, 0 deletions