* src/roff/troff/input.h: s/COMPATIBLE_SAVE/PUSH_GROFF_MODE/.
commit0241b013fd4a477ba97313f67d9e0c24dbbbe3df
authorWerner LEMBERG <wl@gnu.org>
Sat, 3 Jul 2004 07:19:02 +0000 (3 07:19 +0000)
committerWerner LEMBERG <wl@gnu.org>
Sat, 3 Jul 2004 07:19:02 +0000 (3 07:19 +0000)
treeda927ab0f93bc87286a1acb32652797ead9800a2
parentfe499527f4b8bb0399a0a4a0d7701c2138a2ad47
* src/roff/troff/input.h: s/COMPATIBLE_SAVE/PUSH_GROFF_MODE/.
s/COMPATIBLE_RESTORE/POP_GROFFCOMP_MODE/.
Update all users.
(PUSH_COMP_MODE): New internal character constant.
Update all users.

* src/roff/troff/input.cpp (get_copy): Handle PUSH_GROFF_MODE,
PUSH_COMP_MODE, and POP_GROFFCOMP_MODE.
(token::next, macro::append): Handle PUSH_COMP_MODE.
(decode_args): Add PUSH_GROFF_MODE or PUSH_COMP_MODE before and
POP_GROFFCOMP after each of the decoded arguments to make them
independent from the compatibility mode status.
(comp_mode): Add `COMP_ENABLE'.
(do_define_string, do_define_macro): Handle COMP_ENABLE.
(define_string, append_string, define_macro, define_indirect_macro,
append_macro, append_indirect_macro): Handle `compatible_flag'.
(chop_macro, substring_request, asciify): Handle PUSH_COMP_MODE.

* man/groff_diff.man, doc/groff.texinfo: Updated.
ChangeLog
doc/groff.texinfo
man/groff_diff.man
src/roff/troff/input.cpp
src/roff/troff/input.h