xref: /openbsd-src/regress/usr.bin/m4/comments.m4 (revision 739ce1244bb934393fb8432151f4a6f43b5e42cc)
1*739ce124Sespiednl $OpenBSD: comments.m4,v 1.1 2005/09/06 15:33:21 espie Exp $
2*739ce124Sespiednl checking the way changecom works.
3*739ce124Sespie1: normal
4*739ce124Sespiedefine(`comment', `COMMENT')dnl
5*739ce124Sespiedefine(`p', 'XXX')dnl
6*739ce124Sespie# this is a comment
7*739ce124Sespie>> this is a comment
8*739ce124Sespiep this is a comment
9*739ce124Sespiep this is a comment q comment too
10*739ce124Sespie
11*739ce124Sespie2: `changecom(>>)dnl'
12*739ce124Sespiechangecom(>>)dnl
13*739ce124Sespie# this is a comment
14*739ce124Sespie>> this is a comment
15*739ce124Sespiep this is a comment
16*739ce124Sespiep this is a comment q comment too
17*739ce124Sespie
18*739ce124Sespie3: `changecom dnl'
19*739ce124Sespiechangecom dnl
20*739ce124Sespie# this is a comment
21*739ce124Sespie>> this is a comment
22*739ce124Sespiep this is a comment
23*739ce124Sespiep this is a comment q comment too
24*739ce124Sespie
25*739ce124Sespie4: `changecom()dnl'
26*739ce124Sespiechangecom()dnl
27*739ce124Sespie# this is a comment
28*739ce124Sespie>> this is a comment
29*739ce124Sespiep this is a comment
30*739ce124Sespiep this is a comment q comment too
31*739ce124Sespie
32*739ce124Sespie5: `changecom(,)dnl'
33*739ce124Sespiechangecom(,)dnl
34*739ce124Sespie# this is a comment
35*739ce124Sespie>> this is a comment
36*739ce124Sespiep this is a comment
37*739ce124Sespiep this is a comment q comment too
38*739ce124Sespie
39*739ce124Sespie6: `changecom(`p',q)dnl'
40*739ce124Sespiechangecom(`p',q)dnl
41*739ce124Sespie# this is a comment
42*739ce124Sespie>> this is a comment
43*739ce124Sespiep this is a comment
44*739ce124Sespiep this is a comment q comment too
45*739ce124Sespie
46*739ce124Sespie7: `changecom(`p')dnl'
47*739ce124Sespiechangecom(`p')dnl
48*739ce124Sespie# this is a comment
49*739ce124Sespie>> this is a comment
50*739ce124Sespiep this is a comment
51*739ce124Sespiep this is a comment q comment too
52*739ce124Sespie
53*739ce124Sespie8: `changecom(#)dnl'
54*739ce124Sespiechangecom(#)dnl
55*739ce124Sespie# this is a comment
56*739ce124Sespie>> this is a comment
57*739ce124Sespiep this is a comment
58*739ce124Sespiep this is a comment q comment too
59