aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/chars.in
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.in
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.in')
-rw-r--r--chars.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/chars.in b/chars.in
index 0a39697c..fc0834cb 100644
--- a/chars.in
+++ b/chars.in
@@ -1,4 +1,4 @@
-/* $Id: chars.in,v 1.23 2010/05/16 01:35:37 schwarze Exp $ */
+/* $Id: chars.in,v 1.24 2010/06/01 11:47:28 kristaps Exp $ */
/*
* Copyright (c) 2009 Kristaps Dzonsons <kristaps@kth.se>
*
@@ -44,6 +44,7 @@ CHAR("%", 1, "", 0, "", 0)
CHAR("&", 1, "", 0, "", 0)
CHAR("^", 1, "", 0, "", 0)
CHAR("|", 1, "", 0, "", 0)
+CHAR("}", 1, "", 0, "", 0)
/* Accents. */
CHAR("a\"", 2, "\"", 1, "&#779;", 6)