m4-commit
[Top][All Lists]
Advanced

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

Changes to examples/wrapfifo.m4 [branch-1_4]


From: Eric Blake
Subject: Changes to examples/wrapfifo.m4 [branch-1_4]
Date: Mon, 03 Jul 2006 13:16:23 +0000

CVSROOT:        /sources/m4
Module name:    m4
Branch:         branch-1_4
Changes by:     Eric Blake <ericb>      06/07/03 13:16:19

Index: examples/wrapfifo.m4
===================================================================
RCS file: examples/wrapfifo.m4
diff -N examples/wrapfifo.m4
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ examples/wrapfifo.m4        3 Jul 2006 13:16:19 -0000       1.1.2.1
@@ -0,0 +1,10 @@
+dnl Redefine m4wrap to have FIFO semantics.
+define(`_m4wrap_level', `0')dnl
+define(`m4wrap',
+`ifdef(`m4wrap'_m4wrap_level,
+       `define(`m4wrap'_m4wrap_level,
+               defn(`m4wrap'_m4wrap_level)`$1')',
+       `builtin(`m4wrap', `define(`_m4wrap_level',
+                                  incr(_m4wrap_level))dnl
+m4wrap'_m4wrap_level)dnl
+define(`m4wrap'_m4wrap_level, `$1')')')dnl




reply via email to

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