summaryrefslogtreecommitdiff
path: root/src/roff/troff
diff options
context:
space:
mode:
authorwl <wl>2007-09-14 06:13:48 +0000
committerwl <wl>2007-09-14 06:13:48 +0000
commit7fb80cb4f9c01e369ca451e544b3b59f60fa0ca9 (patch)
tree65fea5a68041935a5c0b25855c116bf0ef88accd /src/roff/troff
parent6fa4f4da4ec2f2006c6d663cf4703b0ca8af046d (diff)
downloadgroff-7fb80cb4f9c01e369ca451e544b3b59f60fa0ca9.tar.gz
* tmac/unicode.tmac: Make `-' a pure input character by mapping it
to `hy'. * src/roff/troff/input.cpp (init_charset_table): Handle `hy'.
Diffstat (limited to 'src/roff/troff')
-rw-r--r--src/roff/troff/input.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/roff/troff/input.cpp b/src/roff/troff/input.cpp
index 68db160c..397f2ba4 100644
--- a/src/roff/troff/input.cpp
+++ b/src/roff/troff/input.cpp
@@ -6450,6 +6450,7 @@ static void init_charset_table()
get_charinfo(symbol("dg"))->set_flags(charinfo::TRANSPARENT);
get_charinfo(symbol("rq"))->set_flags(charinfo::TRANSPARENT);
get_charinfo(symbol("em"))->set_flags(charinfo::BREAK_AFTER);
+ get_charinfo(symbol("hy"))->set_flags(charinfo::BREAK_AFTER);
get_charinfo(symbol("ul"))->set_flags(charinfo::OVERLAPS_HORIZONTALLY);
get_charinfo(symbol("rn"))->set_flags(charinfo::OVERLAPS_HORIZONTALLY);
get_charinfo(symbol("radicalex"))->set_flags(charinfo::OVERLAPS_HORIZONTALLY);