diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-03-12 02:57:35 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-03-12 02:57:35 +0000 |
commit | 6cef110ea7c9248b1b0e3caead715fbe248dadac (patch) | |
tree | 7b0cd4631fbaa3bfe4d1e183de783d8ca5d9f66d /argv.c | |
parent | caf7a1a713d8bbe1bad95ee8801eba029cab20de (diff) | |
download | mandoc-6cef110ea7c9248b1b0e3caead715fbe248dadac.tar.gz |
Brq/Bro/Brc fixed up and pretty.
Cleaned up Aq/Sq use of escapes in term.c.
Added initial -column support.
Fixed argv returning ARGV_WORD and tokenising anyway.
Diffstat (limited to 'argv.c')
-rw-r--r-- | argv.c | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -576,7 +576,7 @@ args(struct mdoc *mdoc, int line, return(0); if (p) - return(ARGS_WORD); + return(ARGS_PHRASE); /* Configure the eoln case, too. */ @@ -588,7 +588,7 @@ args(struct mdoc *mdoc, int line, return(0); *pos += (int)(p - *v); - return(ARGS_WORD); + return(ARGS_PHRASE); } /* Do non-tabsep look-ahead here. */ @@ -688,6 +688,8 @@ argv_a2arg(int tok, const char *argv) return(MDOC_File); else if (xstrcmp(argv, "offset")) return(MDOC_Offset); + else if (xstrcmp(argv, "compact")) + return(MDOC_Compact); break; case (MDOC_Bf): |