aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/chars.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2010-06-01 11:47:28 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2010-06-01 11:47:28 +0000
commit47cdaf0fdadf72cb7aba9bfecf789e29e518c79b (patch)
tree56b21c3dc0642c353a4bc759e51b6b3edba6987a /chars.c
parent40474646e31472973c5c23523544c73599320372 (diff)
downloadmandoc-47cdaf0fdadf72cb7aba9bfecf789e29e518c79b.tar.gz
mandoc-47cdaf0fdadf72cb7aba9bfecf789e29e518c79b.tar.zst
mandoc-47cdaf0fdadf72cb7aba9bfecf789e29e518c79b.zip
Fixed condition of `\}' closing a conditional at the start of the line.
Fixed flushed-out condition of \} causing subsequent arguments to be truncated, when in fact the whole line should be passed through (if the conditional succeeds) to the front-end and the \} ignored there. Added regression test of this behaviour.
Diffstat (limited to 'chars.c')
-rw-r--r--chars.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/chars.c b/chars.c
index 3129aae3..bc688bce 100644
--- a/chars.c
+++ b/chars.c
@@ -1,4 +1,4 @@
-/* $Id: chars.c,v 1.18 2010/05/25 12:37:20 kristaps Exp $ */
+/* $Id: chars.c,v 1.19 2010/06/01 11:47:28 kristaps Exp $ */
/*
* Copyright (c) 2009 Kristaps Dzonsons <kristaps@kth.se>
*
@@ -43,7 +43,7 @@ struct ln {
#define CHARS_BOTH (CHARS_CHAR | CHARS_STRING)
};
-#define LINES_MAX 369
+#define LINES_MAX 370
#define CHAR(w, x, y, z, a, b) \
{ NULL, (w), (y), (a), (x), (z), (b), CHARS_CHAR },