[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Groff-commit] Changes to //var/cvs/groff

From: wlemb
Subject: [Groff-commit] Changes to //var/cvs/groff
Date: Mon, 7 May 2001 01:29:21 +0200

Log from commit: 

Update of /var/cvs/groff
In directory genba:/vol5/tmp/cvs-serv14430

Modified Files:
        ChangeLog NEWS 
Log Message:
Added two new requests `de1' and `am1' which are similar to `de' and
`am' with the difference that compatibility mode is saved on entry,
switched off during macro execution, and restored on exit.

* src/roff/troff/input.h: Added two new special characters
* src/roff/troff/ (input_iterator): Added two member
functions `save_compatible_flag' and `get_compatible_flag'.
(input_stack): Ditto.
(string_iterator): Ditto.  Also add private member
(calling_mode): New enumeration.
(do_define_macro): Use it.  Insert COMPATIBLE_SAVE and
COMPATIBLE_RESTORE at the beginning and end of macro, respectively.
(define_macro, define_indirect_macro, append_macro, ignore): Use
(define_nocomp_macro, append_nocomp_macro): New functions.
(init_input_requests): Updated.
(do_request): Rename local variable `saved_compatible_flag' to
* NEWS, src/roff/troff/, man/ Document it.

* tmac/an-old.tmac: Use `de1' instead of `de' request for all
public and trap-invoked macros.  As a consequence, the man macros
work in compatibility mode also.

* Use $(mandir).

reply via email to

[Prev in Thread] Current Thread [Next in Thread]