Fix \$@ and \$* to handle any number of arguments.
commita3f4d23f93436ac81e1a45ace99039efcc3880bd
authorWerner LEMBERG <wl@gnu.org>
Mon, 27 Sep 2004 06:09:40 +0000 (27 06:09 +0000)
committerWerner LEMBERG <wl@gnu.org>
Mon, 27 Sep 2004 06:09:40 +0000 (27 06:09 +0000)
tree2a7be465fd79ff6d98668d9477f76786f2e344bb
parent300bd7752276f6c0c496853390236c756a714377
Fix \$@ and \$* to handle any number of arguments.

* src/roff/troff/input.h (BEGIN_QUOTE, END_QUOTE): New special
characters.

* src/roff/troff/input.cpp (input_iterator::internal_level):
Removed.
(input_stack): New member functions `increase_level' and
`decrease_level'.
(input_stack::get_level): Don't use `internal_level'.
(get_copy, token::next): Handle BEGIN_QUOTE and END_QUOTE.
(end_quote_iterator): Completely removed.
(interpolate_arg): Build string for \$@ and \$* which is then
pushed onto the input stack.
ChangeLog
src/roff/troff/input.cpp
src/roff/troff/input.h