summaryrefslogtreecommitdiffstats
path: root/argv.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2009-03-12 02:57:35 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2009-03-12 02:57:35 +0000
commit6cef110ea7c9248b1b0e3caead715fbe248dadac (patch)
tree7b0cd4631fbaa3bfe4d1e183de783d8ca5d9f66d /argv.c
parentcaf7a1a713d8bbe1bad95ee8801eba029cab20de (diff)
downloadmandoc-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.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/argv.c b/argv.c
index b30cf028..1742e1cb 100644
--- a/argv.c
+++ b/argv.c
@@ -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):