summaryrefslogtreecommitdiff
path: root/regress/usr.bin/m4/quotes.m4
blob: 0841466397407b39ac3cd4160131fe5a1a697f5b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
dnl $OpenBSD: quotes.m4,v 1.1 2001/09/29 15:49:18 espie Exp $
dnl Checking the way changequote() is supposed to work
dnl in both normal and gnu emulation mode
changequote()dnl
`No quotes left'
changequote([,])dnl
[Quotes]changequote
`No quotes left'
changequote([,])dnl
changequote(,)dnl
`No quotes left'
changequote([,])dnl
dnl same thing with comments, so first:
define([comment], [COMMENT])dnl
# this is a comment
changecom(>>)dnl
# this is a comment
changecom
# this is a comment
changecom(,)dnl
# this is a comment