aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/out.c
diff options
context:
space:
mode:
Diffstat (limited to 'out.c')
-rw-r--r--out.c18
1 files changed, 17 insertions, 1 deletions
diff --git a/out.c b/out.c
index 423e22ce..9e50628a 100644
--- a/out.c
+++ b/out.c
@@ -1,4 +1,4 @@
-/* $Id: out.c,v 1.18 2010/07/18 22:55:06 kristaps Exp $ */
+/* $Id: out.c,v 1.19 2010/07/18 23:06:18 kristaps Exp $ */
/*
* Copyright (c) 2009, 2010 Kristaps Dzonsons <kristaps@bsd.lv>
*
@@ -233,6 +233,22 @@ a2roffdeco(enum roffdeco *d, const char **word, size_t *sz)
break;
}
break;
+ case ('M'):
+ /* FALLTHROUGH */
+ case ('m'):
+ switch (wp[i++]) {
+ case ('('):
+ lim = 2;
+ break;
+ case ('['):
+ term = ']';
+ break;
+ default:
+ i--;
+ lim = 1;
+ break;
+ }
+ break;
case ('s'):
if ('+' == wp[i] || '-' == wp[i])
i++;