CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2011/01/10 16:53:32
Modified files:
usr.bin/mandoc : main.c mandoc.h roff.c
regress/usr.bin/mandoc/roff/string: Makefile
Added files:
regress/usr.bin/mandoc/roff/string: name.in name.out_ascii
Log message:
Refactoring in preparation for .rm support:
Unify parsing of names given as roff request arguments into a new
function roff_getname(), which is rather different from the parsing
function for normal arguments, mandoc_getarg(), because names cannot
be quoted and cannot contain whitespace or escaped characters.
The new function now throws an ERROR when finding escaped characters
in a name.
"I'm fine with this." kristaps@