summaryrefslogtreecommitdiffstatshomepage
path: root/mdoc_action.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2009-10-26 10:36:46 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2009-10-26 10:36:46 +0000
commit9d6a888edb5abd01db8123afa74bc2405f0a9167 (patch)
treeff1f54162635d932a03ad8081a655bd9fcf42039 /mdoc_action.c
parentaae9031298fb0d0238d16af6152673e7a820c0d5 (diff)
downloadmandoc-9d6a888edb5abd01db8123afa74bc2405f0a9167.tar.gz
mandoc-9d6a888edb5abd01db8123afa74bc2405f0a9167.tar.zst
mandoc-9d6a888edb5abd01db8123afa74bc2405f0a9167.zip
Fix to segfault in ordering Rs blocks (d'oh!).VERSION_1_9_11
Version: 1.9.11.
Diffstat (limited to 'mdoc_action.c')
-rw-r--r--mdoc_action.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/mdoc_action.c b/mdoc_action.c
index 709701d4..ed1e39aa 100644
--- a/mdoc_action.c
+++ b/mdoc_action.c
@@ -1,4 +1,4 @@
-/* $Id: mdoc_action.c,v 1.44 2009/10/26 04:09:45 kristaps Exp $ */
+/* $Id: mdoc_action.c,v 1.45 2009/10/26 10:36:46 kristaps Exp $ */
/*
* Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@kth.se>
*
@@ -192,7 +192,7 @@ static const struct actions mdoc_actions[MDOC_MAX] = {
{ NULL, NULL }, /* %U */
};
-#define RSORD_MAX 13
+#define RSORD_MAX 14
static const int rsord[RSORD_MAX] = {
MDOC__A,
@@ -207,7 +207,8 @@ static const int rsord[RSORD_MAX] = {
MDOC__Q,
MDOC__D,
MDOC__O,
- MDOC__C
+ MDOC__C,
+ MDOC__U
};