Commit | Line | Data |
---|---|---|
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 | ||
23 | extern ndptr hashtab[]; /* hash table for macros etc. */ | |
24 | extern char buf[]; /* push-back buffer */ | |
25 | extern char *bp; /* first available character */ | |
26 | extern char *endpbb; /* end of push-back buffer */ | |
27 | extern stae mstack[]; /* stack of m4 machine */ | |
28 | extern char *ep; /* first free char in strspace */ | |
29 | extern char *endest; /* end of string space */ | |
30 | int sp; /* current m4 stack pointer */ | |
31 | int fp; /* m4 call frame pointer */ | |
32 | extern FILE *infile[]; /* input file stack (0=stdin) */ | |
33 | extern FILE *outfile[]; /* diversion array(0=bitbucket)*/ | |
34 | extern FILE *active; /* active output file pointer */ | |
35 | extern char *m4temp; /* filename for diversions */ | |
36 | extern int ilevel; /* input file stack pointer */ | |
37 | extern int oindex; /* diversion index.. */ | |
38 | extern char *null; /* as it says.. just a null.. */ | |
39 | extern char *m4wraps; /* m4wrap string default.. */ | |
40 | extern char lquote; /* left quote character (`) */ | |
41 | extern char rquote; /* right quote character (') */ | |
42 | extern char scommt; /* start character for comment */ | |
43 | extern char ecommt; /* end character for comment */ |