Lines Matching full:diversion
715 ## 8. More diversion support. ##
719 # _m4_divert(DIVERSION-NAME or NUMBER)
721 # If DIVERSION-NAME is the name of a diversion, return its number,
740 # m4_divert(DIVERSION-NAME)
742 # Change the diversion stream to DIVERSION-NAME.
749 # m4_divert_push(DIVERSION-NAME)
751 # Change the diversion stream to DIVERSION-NAME, while stacking old values.
759 # m4_divert_pop([DIVERSION-NAME])
761 # Change the diversion stream to its previous value, unstacking it.
762 # If specified, verify we left DIVERSION-NAME.
769 [m4_fatal([$0($1): diversion mismatch: ]_m4_divert_n_stack)])dnl
779 # m4_divert_text(DIVERSION-NAME, CONTENT)
781 # Output CONTENT into DIVERSION-NAME (which may be a number actually).
790 # m4_divert_once(DIVERSION-NAME, CONTENT)
792 # Output once CONTENT into DIVERSION-NAME (which may be a number
798 # m4_undivert(DIVERSION-NAME)
800 # Undivert DIVERSION-NAME.
835 # diversion, GROW. When the outer macro is fully expanded, we first
979 # This implements tries not to assume that the current diversion is
981 # record the current diversion under the name _m4_divert_dump (denoted
993 # After AC_INIT was run, the current diversion is BODY.
996 # diversion stack: BODY |-
999 # The prologue of TEST1 sets _m4_divert_dump, which is the diversion
1001 # diversion. It also m4_divert_push to GROW, where the full
1008 # _m4_require_call m4_divert_pushes another temporary diversion,
1014 # Than the content of the temporary diversion is moved to DUMP and the
1015 # temporary diversion is popped.
1034 # Than the diversion is appended to DUMP, and popped.
1108 # This diversion is used by the m4_defun/m4_require machinery. It is
1110 # AC_REQUIRE we use an additional diversion (i.e., two m4_require's
1160 # so the macro automatically switches expansion to the diversion
1162 # it will bring back all the code accumulated in the diversion stack.
1740 # It is a real pity that M4 comes with no macros to bind a diversion