summaryrefslogtreecommitdiff
path: root/src/roff/troff/node.h
diff options
context:
space:
mode:
authorwlemb <wlemb>2001-01-28 09:22:22 +0000
committerwlemb <wlemb>2001-01-28 09:22:22 +0000
commit16442548d3060c11774df73cfe39a17e78ec1e61 (patch)
tree84e3e37552efc9dbd69ad7dd8dd8d0ed1540f326 /src/roff/troff/node.h
parente6457331eba6bde2143d3436d270c28c4ca02680 (diff)
downloadgroff-16442548d3060c11774df73cfe39a17e78ec1e61.tar.gz
Fixed a bug which prevented hyphenation of words which are finished
with `)'. * src/roff/troff/token.h (token): Add enum type `TOKEN_TRANSPARENT_DUMMY' and method `transparent_dummy()'. * src/roff/troff/input.cc (token::next, token::description, get_line_arg, token::add_to_node_list, token::process): Use it. * src/roff/troff/div.h (diversion): Add `saved_prev_line_interrupted'. * src/roff/troff/div.cc (do_divert): Use it. * src/roff/troff/input.cc (asciify): Add ESCAPE_RIGHT_PARENTHESIS.
Diffstat (limited to 'src/roff/troff/node.h')
-rw-r--r--src/roff/troff/node.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/roff/troff/node.h b/src/roff/troff/node.h
index 80095c20..7986ae64 100644
--- a/src/roff/troff/node.h
+++ b/src/roff/troff/node.h
@@ -310,7 +310,7 @@ class vline_node : public node {
vunits x;
node *n;
public:
- vline_node(vunits i, node *c, node *next= 0) : node(next), x(i), n(c) {}
+ vline_node(vunits i, node *c, node *next= 0) : node(next), x(i), n(c) {}
~vline_node();
node *copy();
void tprint(troff_output_file *);
@@ -335,7 +335,7 @@ public:
class transparent_dummy_node : public node {
public:
- transparent_dummy_node() {}
+ transparent_dummy_node(node *nd = 0) : node(nd) {}
node *copy();
int same(node *);
const char *type();