]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/blob - tools/regression/usr.bin/m4/args.m4
Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.
[FreeBSD/stable/10.git] / tools / regression / usr.bin / m4 / args.m4
1 dnl $FreeBSD$
2 dnl $OpenBSD: src/regress/usr.bin/m4/args.m4,v 1.1 2001/10/10 23:23:59 espie Exp $
3 dnl Expanding all arguments
4 define(`A', `first form: $@, second form $*')dnl
5 define(`B', `C')dnl
6 A(1,2,`B')
7 dnl indirection means macro can get called with argc == 2 !
8 indir(`A',1,2,`B')
9 indir(`A')