diff options
author | Marc Espie <espie@cvs.openbsd.org> | 2005-03-02 10:12:16 +0000 |
---|---|---|
committer | Marc Espie <espie@cvs.openbsd.org> | 2005-03-02 10:12:16 +0000 |
commit | 0881d45f2f57f4fe554eaf02317176e510800e2d (patch) | |
tree | 332bf8c544401d4cec97025f523e2814ea21cd3e /usr.bin/m4/extern.h | |
parent | 3abe8debbffa05857cb7deaa65dd547295859d50 (diff) |
let m4wrap handle multiple wraps, both in normal and gnu-mode.
based on Noah Misch's bug report.
okay otto, jmc.
Diffstat (limited to 'usr.bin/m4/extern.h')
-rw-r--r-- | usr.bin/m4/extern.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/usr.bin/m4/extern.h b/usr.bin/m4/extern.h index 6e84878694e..b8d87281ad8 100644 --- a/usr.bin/m4/extern.h +++ b/usr.bin/m4/extern.h @@ -1,4 +1,4 @@ -/* $OpenBSD: extern.h,v 1.39 2003/11/17 17:12:10 espie Exp $ */ +/* $OpenBSD: extern.h,v 1.40 2005/03/02 10:12:15 espie Exp $ */ /* $NetBSD: extern.h,v 1.3 1996/01/13 23:25:24 pk Exp $ */ /*- @@ -159,7 +159,10 @@ extern char *bbase[]; /* buffer base per ilevel */ extern char ecommt[MAXCCHARS+1];/* end character for comment */ extern char *ep; /* first free char in strspace */ extern char lquote[MAXCCHARS+1];/* left quote character (`) */ -extern char *m4wraps; /* m4wrap string default. */ +extern char **m4wraps; /* m4wrap string default. */ +extern int maxwraps; /* size of m4wraps array */ +extern int wrapindex; /* current index in m4wraps */ + extern char *null; /* as it says.. just a null. */ extern char rquote[MAXCCHARS+1];/* right quote character (') */ extern char scommt[MAXCCHARS+1];/* start character for comment */ |