diff options
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); |