date and time created 89/08/28 15:14:16 by bostic
[unix-history] / usr / src / usr.bin / m4 / extr.h
CommitLineData
ca15d56d
KB
1/*
2 * Copyright (c) 1989 The Regents of the University of California.
3 * All rights reserved.
4 *
5 * This code is derived from software contributed to Berkeley by
6 * Ozan Yigit.
7 *
8 * Redistribution and use in source and binary forms are permitted
9 * provided that the above copyright notice and this paragraph are
10 * duplicated in all such forms and that any documentation,
11 * advertising materials, and other materials related to such
12 * distribution and use acknowledge that the software was developed
13 * by the University of California, Berkeley. The name of the
14 * University may not be used to endorse or promote products derived
15 * from this software without specific prior written permission.
16 * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
17 * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
18 * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
19 *
20 * @(#)extr.h 5.1 (Berkeley) %G%
21 */
22
23extern ndptr hashtab[]; /* hash table for macros etc. */
24extern char buf[]; /* push-back buffer */
25extern char *bp; /* first available character */
26extern char *endpbb; /* end of push-back buffer */
27extern stae mstack[]; /* stack of m4 machine */
28extern char *ep; /* first free char in strspace */
29extern char *endest; /* end of string space */
30int sp; /* current m4 stack pointer */
31int fp; /* m4 call frame pointer */
32extern FILE *infile[]; /* input file stack (0=stdin) */
33extern FILE *outfile[]; /* diversion array(0=bitbucket)*/
34extern FILE *active; /* active output file pointer */
35extern char *m4temp; /* filename for diversions */
36extern int ilevel; /* input file stack pointer */
37extern int oindex; /* diversion index.. */
38extern char *null; /* as it says.. just a null.. */
39extern char *m4wraps; /* m4wrap string default.. */
40extern char lquote; /* left quote character (`) */
41extern char rquote; /* right quote character (') */
42extern char scommt; /* start character for comment */
43extern char ecommt; /* end character for comment */