|
|
1.1 root 1: #include <stdio.h>
2: #include <ctype.h>
3: #include "y.tab.h"
4:
5: #
6: #define putbak(c) *ip++ = c
7: /* #define getchr() (ip>ibuf?*--ip: getc(infile[infptr])) */
8:
9: #define LET 1
10: #define DIG 2
11: #define COMMENT '#'
12: #define QUOTE '"'
13:
14: extern int transfer;
15:
16: #define INDENT 3 /* indent delta */
17: #define CONTFLD 6 /* default position of continuation character */
18: extern int contfld; /* column for continuation char */
19: extern int contchar;
20: extern int dbg;
21: extern int yyval;
22: extern int *yypv;
23: extern int yylval;
24: extern int errorflag;
25:
26: extern char comment[]; /* save input comments here */
27: extern int comptr; /* next free slot in comment */
28: extern int printcom; /* print comments, etc., if on */
29: extern int indent; /* level of nesting for indenting */
30:
31: extern char ibuf[];
32: extern char *ip;
33:
34: extern FILE *outfil; /* output file id */
35: extern FILE *infile[];
36: extern char *curfile[];
37: extern int infptr;
38: extern int linect[];
39:
40: extern char fcname[];
41:
42: extern int svargc;
43: extern char **svargv;
44:
45: #define EOS 0
46: #define HSHSIZ 101
47: struct nlist {
48: char *name;
49: char *def;
50: int ydef;
51: struct nlist *next;
52: };
53:
54: struct nlist *lookup();
55: char *install();
56: char *malloc();
57: extern char *fcnloc;
58: extern char *FCN1loc;
59:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.