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