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 | 79712733ab4bcabb671c2ec700a2dc90c6d460d4 (patch) | |
tree | e0926d01428c86acf7a6a3bc2e424599baffc0cf /argv.c | |
parent | 2c692ff2b11e4027db68943061063f808c438b20 (diff) | |
download | mandoc-79712733ab4bcabb671c2ec700a2dc90c6d460d4.tar.gz mandoc-79712733ab4bcabb671c2ec700a2dc90c6d460d4.tar.zst mandoc-79712733ab4bcabb671c2ec700a2dc90c6d460d4.zip |
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 | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -1,4 +1,4 @@ -/* $Id: argv.c,v 1.48 2009/03/11 00:39:58 kristaps Exp $ */ +/* $Id: argv.c,v 1.49 2009/03/12 02:57:35 kristaps Exp $ */ /* * Copyright (c) 2008 Kristaps Dzonsons <kristaps@kth.se> * @@ -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): |