Browse Source

remove unused foreach code

git-svn-id: svn://svn.lighttpd.net/xcache/trunk@715 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
3.0
Xuefer 11 years ago
parent
commit
2e9dd4df93
  1. 9
      processor/main.m4

9
processor/main.m4

@ -183,15 +183,6 @@ define(`COPYNULL_EX', `
')
dnl }}}
dnl {{{ COPYNULL(1:elm)
# foreach(VAR, (LIST), STMT)
m4_define([foreach],
[m4_pushdef([$1])_foreach([$1], [$2], [$3])m4_popdef([$1])])
m4_define([_arg1], [$1])
m4_define([_foreach],
[ifelse([$2], [()], ,
[m4_define([$1], _arg1$2)$3[]_foreach([$1],
(shift$2),
[$3])])])
define(`COPYNULL', `
COPYNULL_EX(`dst->$1', `$2')DONE(`$1')
')

Loading…
Cancel
Save