diff options
author | 2011-01-11 00:11:45 +0000 | |
---|---|---|
committer | 2011-01-11 00:11:45 +0000 | |
commit | 0fe0edf89487fb5d13d2cd07f35eecdb45e87af7 (patch) | |
tree | 872b070e0e504f46df83351f34d291e93c667416 /mdoc_strings.c | |
parent | 8532b513ad046c8c7407add6f29b742c717bb60e (diff) | |
download | mandoc-0fe0edf89487fb5d13d2cd07f35eecdb45e87af7.tar.gz mandoc-0fe0edf89487fb5d13d2cd07f35eecdb45e87af7.tar.zst mandoc-0fe0edf89487fb5d13d2cd07f35eecdb45e87af7.zip |
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@
Diffstat (limited to 'mdoc_strings.c')
0 files changed, 0 insertions, 0 deletions