summaryrefslogtreecommitdiffstats
path: root/mdoc_strings.c
diff options
context:
space:
mode:
Diffstat (limited to 'mdoc_strings.c')
-rw-r--r--mdoc_strings.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/mdoc_strings.c b/mdoc_strings.c
index be96ca87..3ec989f6 100644
--- a/mdoc_strings.c
+++ b/mdoc_strings.c
@@ -68,6 +68,12 @@ mdoc_iscdelim(char p)
switch (p) {
case('|'):
/* FALLTHROUGH */
+ case('('):
+ /* FALLTHROUGH */
+ case('['):
+ /* FALLTHROUGH */
+ case('{'):
+ return(1);
case('.'):
/* FALLTHROUGH */
case(','):
@@ -80,18 +86,12 @@ mdoc_iscdelim(char p)
/* FALLTHROUGH */
case('!'):
/* FALLTHROUGH */
- case('('):
- /* FALLTHROUGH */
case(')'):
/* FALLTHROUGH */
- case('['):
- /* FALLTHROUGH */
case(']'):
/* FALLTHROUGH */
- case('{'):
- /* FALLTHROUGH */
case('}'):
- return(1);
+ return(2);
default:
break;
}