summaryrefslogtreecommitdiff
path: root/usr.bin/m4/mdef.h
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1996-01-15 01:12:22 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1996-01-15 01:12:22 +0000
commitf6d8cb1066b80bf03d8087fee955b74d52e02b84 (patch)
tree8ecf4ab75967cda9cefc48bb3cea9028bfff18dc /usr.bin/m4/mdef.h
parent5920ea73c8f900e496b20ef4826af71dcd5e6605 (diff)
from netbsd:
Handle multichar comment and quote delimiters (up to 5 characters, per the manual page). Takes care of PR#485.
Diffstat (limited to 'usr.bin/m4/mdef.h')
-rw-r--r--usr.bin/m4/mdef.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/m4/mdef.h b/usr.bin/m4/mdef.h
index 110cc5b67dc..dacbf60d99d 100644
--- a/usr.bin/m4/mdef.h
+++ b/usr.bin/m4/mdef.h
@@ -1,4 +1,4 @@
-/* $NetBSD: mdef.h,v 1.6 1995/09/28 05:37:39 tls Exp $ */
+/* $NetBSD: mdef.h,v 1.7 1996/01/13 23:25:27 pk Exp $ */
/*
* Copyright (c) 1989, 1993
@@ -104,6 +104,7 @@
#define STRSPMAX 4096 /* size of string space */
#define MAXTOK MAXSTR /* maximum chars in a tokn */
#define HASHSIZE 199 /* maximum size of hashtab */
+#define MAXCCHARS 5 /* max size of comment/quote delim */
#define ALL 1
#define TOP 0