|
|
1.1 root 1: #include "lex.h"
2:
3: /*
4: * lex0.c
5: * external variables
6: */
7: int nxt;
8: int yylval;
9: int ltype;
10: int inquotes;
11: int indefs;
12: int actn;
13: int clas;
14: int nfa[ARRSZ][2];
15: struct def *defstart;
16: struct def *ctxstart;
17: struct def *scnstart;
18: unsigned char *classptr;
19: FILE *filein = stdin;
20: FILE *fileout = stdout;
21:
22: char opnerr[] = "cannot open %s";
23: char outmem[] = "out of memory";
24: char noactn[] = "missing action";
25: char illchr[] = "illegal character";
26: char illnln[] = "illegal newline";
27: char illrng[] = "improper range";
28: char illoct[] = "illegal octal escape";
29: char unddef[] = "undefined reference";
30: char undctx[] = "undefined context";
31: char undstc[] = "undefined start condition";
32: char illstc[] = "start condition spec in rules section";
33: char regsyn[] = "regular expression syntax";
34: char rulsyn[] = "rule syntax";
35: char actsyn[] = "action syntax";
36: char unmopr[] = "unmatched `%c' in regular expression";
37: char reperr[] = "improper repetition specification";
38: char eoferr[] = "unexpected EOF";
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.