diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-01-05 17:57:07 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-01-05 17:57:07 +0000 |
commit | 0a1a67c2c7759505f69bf1127a57b5232a7f84bd (patch) | |
tree | 98aeb84543ec76ae485fe13e0b24c57eb062964c /argv.c | |
parent | e653c8089f13da940f3273f95fca6e7098852332 (diff) | |
download | mandoc-0a1a67c2c7759505f69bf1127a57b5232a7f84bd.tar.gz |
*** empty log message ***
Diffstat (limited to 'argv.c')
-rw-r--r-- | argv.c | 21 |
1 files changed, 10 insertions, 11 deletions
@@ -133,15 +133,6 @@ lookup(int tok, const char *argv) { switch (tok) { - case (MDOC_Bf): - if (xstrcmp(argv, "emphasis")) - return(MDOC_Emphasis); - else if (xstrcmp(argv, "literal")) - return(MDOC_Literal); - else if (xstrcmp(argv, "symbolic")) - return(MDOC_Symbolic); - break; - case (MDOC_An): if (xstrcmp(argv, "split")) return(MDOC_Split); @@ -162,6 +153,15 @@ lookup(int tok, const char *argv) return(MDOC_Offset); break; + case (MDOC_Bf): + if (xstrcmp(argv, "emphasis")) + return(MDOC_Emphasis); + else if (xstrcmp(argv, "literal")) + return(MDOC_Literal); + else if (xstrcmp(argv, "symbolic")) + return(MDOC_Symbolic); + break; + case (MDOC_Bk): if (xstrcmp(argv, "words")) return(MDOC_Words); @@ -283,8 +283,7 @@ lookup(int tok, const char *argv) break; default: - abort(); - /* NOTREACHED */ + break; } return(MDOC_ARG_MAX); |