File: wrapfifo.m4

package info (click to toggle)
m4 1.4.21-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 22,912 kB
  • sloc: ansic: 141,792; sh: 15,054; cpp: 2,283; lisp: 243; makefile: 169; sed: 16
file content (10 lines) | stat: -rw-r--r-- 388 bytes parent folder | download | duplicates (11)
1
2
3
4
5
6
7
8
9
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