diff options
author | wlemb <wlemb> | 2003-03-20 06:02:56 +0000 |
---|---|---|
committer | wlemb <wlemb> | 2003-03-20 06:02:56 +0000 |
commit | 27d4b8c8d4ca8f23c06c000d82b534b3a2fd9ab2 (patch) | |
tree | 21a0775a7ff05e71cfe44b581319291a52181e37 | |
parent | 1d3b3d1b8a0912d19d45860f63f9a35a636e0021 (diff) | |
download | groff-27d4b8c8d4ca8f23c06c000d82b534b3a2fd9ab2.tar.gz |
* src/roff/troff/input.cc (process_input_stack) <TOKEN_BEGIN_TRAP,
TOKEN_END_TRAP>: Reset `have_input'.
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | src/roff/troff/input.cc | 2 |
2 files changed, 7 insertions, 0 deletions
@@ -1,3 +1,8 @@ +2003-03-19 Werner LEMBERG <wl@gnu.org> + + * src/roff/troff/input.cc (process_input_stack) <TOKEN_BEGIN_TRAP, + TOKEN_END_TRAP>: Reset `have_input'. + 2003-03-18 Werner LEMBERG <wl@gnu.org> * src/roff/groff/groff.man: Mention groff_trace man page. diff --git a/src/roff/troff/input.cc b/src/roff/troff/input.cc index 4d5b30d8..65b6c364 100644 --- a/src/roff/troff/input.cc +++ b/src/roff/troff/input.cc @@ -2730,6 +2730,7 @@ void process_input_stack() { trap_bol_stack.push(bol); bol = 1; + have_input = 0; break; } case token::TOKEN_END_TRAP: @@ -2738,6 +2739,7 @@ void process_input_stack() error("spurious end trap token detected!"); else bol = trap_bol_stack.pop(); + have_input = 0; /* I'm not totally happy about this. But I can't think of any other way to do it. Doing an output_pending_lines() whenever a |