Implementation of string arguments of the form \*[foo arg1 arg2 ...]
commit1b3161fcc60659671bd6486a5566cd00874e5031
authorWerner LEMBERG <wl@gnu.org>
Sat, 29 Jun 2002 21:44:33 +0000 (29 21:44 +0000)
committerWerner LEMBERG <wl@gnu.org>
Sat, 29 Jun 2002 21:44:33 +0000 (29 21:44 +0000)
treecff791798bc545de2849fbf2172598aa766ff79b
parent4b7c24f4a2f7e95b1b6255bf36a1cd074f6525d8
Implementation of string arguments of the form \*[foo arg1 arg2 ...]

* src/roff/troff/input.cc (have_string_arg): New global variable.
(read_mode): New enumeration.
(read_escape_name): Use it.  Update all calls.
(read_long_escape_name): Use it.  Update all calls.
Set have_string_arg if appropriate.
(get_char_for_escape_name): Add parameter for handling space
character.
(interpolate_string_with_args, decode_string_args): New functions.
(get_copy, token::next): Call it if necessary.
(interpolate_string): Fix error message.

* NEWS, doc/groff.texinfo, man/groff.man, man/groff_diff.man:
Document it.
ChangeLog
NEWS
doc/groff.texinfo
man/groff.man
man/groff_diff.man
src/roff/troff/input.cc