CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2018/12/18 14:58:41
Modified files:
usr.bin/mandoc : mandoc.c roff.c
Log message:
As a first step towards making roff_res() callable from mandoc_getarg(),
move the function mandoc_getarg() from mandoc.c to roff.c. It was
misplaced in mandoc.c in the first place; that file is intended for
utilities needed both by parsers and by formatters, while reading
macro arguments in copy mode is purely a task of the roff(7) parser.
Needed as a preliminary for an upcoming bugfix.
No code change.