diff options
author | wl <wl> | 2010-12-20 06:39:01 +0000 |
---|---|---|
committer | wl <wl> | 2010-12-20 06:39:01 +0000 |
commit | b706a783c204610a8d7fe9b024644fc45d20a4df (patch) | |
tree | a0101bbdae0d9e0d872e3465019489576fc6e190 /Makefile.in | |
parent | fa1faa789de9aafcdff1575c4e3f56ed96929a22 (diff) | |
download | groff-b706a783c204610a8d7fe9b024644fc45d20a4df.tar.gz |
Speed up access to cflags values.
We now recompute the cflags values for all charinfo objects if
`.class' has been called.
* src/roff/troff/charinfo.h: Add external references to `class_flag'
and `get_flags'.
(charinfo): `get_flags' no longer has a return value.
(charinfo::overlaps_horizontally, charinfo::overlaps_vertically,
charinfo::can_break_before, charinfo::can_break_after,
charinfo::can_break_after, charinfo::ends_sentence,
charinfo::transparent,, charinfo:ignore_hcodes,
charinfo::prohibit_break_before, charinfo::prohibit_break_after,
charinfo::inter_char_space): Call global `get_flags' only if
necessary.
(charinfo::add_to_class): Set `class_flag'.
* src/roff/troff/input.cpp (class_flag): New global flag.
(charinfo::charinfo): Call `get_flags' member function.
(get_flags): New global function which iterates over all entries in
the charinfo dictionary.
(charinfo::get_flags): Set `flags' directly.
Diffstat (limited to 'Makefile.in')
0 files changed, 0 insertions, 0 deletions