summaryrefslogtreecommitdiffstats
path: root/argv.c
diff options
context:
space:
mode:
Diffstat (limited to 'argv.c')
-rw-r--r--argv.c21
1 files changed, 10 insertions, 11 deletions
diff --git a/argv.c b/argv.c
index 8ac7acf7..ee898d4a 100644
--- a/argv.c
+++ b/argv.c
@@ -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);