home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The World of Computer Software
/
World_Of_Computer_Software-02-385-Vol-1of3.iso
/
p
/
pccts.zip
/
antlr
/
scan.c
< prev
next >
Wrap
C/C++ Source or Header
|
1992-12-08
|
35KB
|
1,692 lines
/* parser.dlg -- DLG Description of scanner
*
* Generated from: antlr.g
*
* Terence Parr, Hank Dietz and Will Cohen: 1989-1992
* Purdue University Electrical Engineering
* ANTLR Version 1.06
*/
#include <stdio.h>
#include "set.h"
#include <ctype.h>
#include "syn.h"
#include "hash.h"
#include "generic.h"
#define zzcr_attr(attr,tok,t)
#include "antlr.h"
#include "tokens.h"
#include "dlgdef.h"
LOOKAHEAD
void zzerraction()
{
(*zzerr)("invalid token");
zzadvance();
zzskip();
}
/*
* D L G tables
*
* Generated from: parser.dlg
*
* 1989-1992 by Will Cohen, Terence Parr, and Hank Dietz
* Purdue University Electrical Engineering
* DLG Version 1.06
*/
#include "mode.h"
static void
act1()
{
NLA = Eof;
/* L o o k F o r A n o t h e r F i l e */
{
FILE *new_input;
new_input = NextFile();
if ( new_input == NULL ) return;
fclose( input );
input = new_input;
zzrdstream( input );
/*zzadvance(); /* Get 1st char of this file */
zzskip(); /* Skip the Eof (@) char i.e continue */
}
}
static void
act2()
{
NLA = 42;
zzskip();
}
static void
act3()
{
NLA = 43;
zzline++; zzskip();
}
static void
act4()
{
NLA = 44;
zzmode(ACTIONS); zzmore();
istackreset();
pushint(']');
}
static void
act5()
{
NLA = 45;
action_file=CurFile; action_line=zzline;
zzmode(ACTIONS); zzmore();
istackreset();
pushint('>');
}
static void
act6()
{
NLA = 46;
zzmode(STRINGS); zzmore();
}
static void
act7()
{
NLA = 47;
zzmode(COMMENTS); zzskip();
}
static void
act8()
{
NLA = 48;
warn("Missing /*; found dangling */"); zzskip();
}
static void
act9()
{
NLA = 49;
warn("Missing <<; found dangling \>\>"); zzskip();
}
static void
act10()
{
NLA = 50;
}
static void
act11()
{
NLA = 52;
}
static void
act12()
{
NLA = 53;
}
static void
act13()
{
NLA = 54;
}
static void
act14()
{
NLA = 55;
}
static void
act15()
{
NLA = 56;
}
static void
act16()
{
NLA = 57;
}
static void
act17()
{
NLA = 58;
}
static void
act18()
{
NLA = 60;
}
static void
act19()
{
NLA = 61;
}
static void
act20()
{
NLA = 62;
}
static void
act21()
{
NLA = 63;
}
static void
act22()
{
NLA = 64;
}
static void
act23()
{
NLA = 65;
}
static void
act24()
{
NLA = 66;
}
static void
act25()
{
NLA = 67;
}
static void
act26()
{
NLA = 68;
}
static void
act27()
{
NLA = 69;
}
static void
act28()
{
NLA = NonTerminal;
}
static void
act29()
{
NLA = TokenTerm;
}
static void
act30()
{
NLA = 70;
warn(eMsg1("unknown meta-op: %s",LATEXT(1))); zzskip();
}
unsigned char shift0[257] = {
0, 37, 37, 37, 37, 37, 37, 37, 37, 37,
1, 2, 37, 37, 2, 37, 37, 37, 37, 37,
37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
37, 37, 37, 1, 15, 5, 9, 37, 37, 37,
37, 31, 32, 7, 33, 37, 37, 37, 6, 36,
36, 36, 36, 36, 36, 36, 36, 36, 36, 16,
17, 4, 37, 8, 37, 37, 35, 35, 35, 35,
35, 35, 35, 35, 35, 35, 35, 35, 35, 35,
35, 35, 35, 35, 35, 35, 35, 35, 35, 35,
35, 35, 3, 37, 37, 30, 36, 37, 12, 34,
20, 13, 11, 34, 34, 10, 22, 34, 28, 18,
34, 24, 23, 34, 34, 14, 25, 21, 34, 34,
34, 19, 34, 34, 26, 29, 27, 37, 37, 37,
37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
37, 37, 37, 37, 37, 37, 37
};
static void
act31()
{
NLA = Eof;
}
static void
act32()
{
NLA = QuotedTerm;
zzmode(START);
}
static void
act33()
{
NLA = 3;
zzmore();
}
static void
act34()
{
NLA = 4;
zzline++;
warn("eoln found in string (in user action)");
zzskip();
}
static void
act35()
{
NLA = 5;
zzmore();
}
static void
act36()
{
NLA = 6;
zzmore();
}
unsigned char shift1[257] = {
0, 4, 4, 4, 4, 4, 4, 4, 4, 4,
4, 3, 4, 4, 4, 4, 4, 4, 4, 4,
4, 4, 4, 4, 4, 4, 4, 4, 4, 4,
4, 4, 4, 4, 4, 1, 4, 4, 4, 4,
4, 4, 4, 4, 4, 4, 4, 4, 4, 4,
4, 4, 4, 4, 4, 4, 4, 4, 4, 4,
4, 4, 4, 4, 4, 4, 4, 4, 4, 4,
4, 4, 4, 4, 4, 4, 4, 4, 4, 4,
4, 4, 4, 4, 4, 4, 4, 4, 4, 4,
4, 4, 4, 2, 4, 4, 4, 4, 4, 4,
4, 4, 4, 4, 4, 4, 4, 4, 4, 4,
4, 4, 4, 4, 4, 4, 4, 4, 4, 4,
4, 4, 4, 4, 4, 4, 4, 4, 4, 4,
4, 4, 4, 4, 4, 4, 4, 4, 4, 4,
4, 4, 4, 4, 4, 4, 4, 4, 4, 4,
4, 4, 4, 4, 4, 4, 4, 4, 4, 4,
4, 4, 4, 4, 4, 4, 4, 4, 4, 4,
4, 4, 4, 4, 4, 4, 4, 4, 4, 4,
4, 4, 4, 4, 4, 4, 4, 4, 4, 4,
4, 4, 4, 4, 4, 4, 4, 4, 4, 4,
4, 4, 4, 4, 4, 4, 4, 4, 4, 4,
4, 4, 4, 4, 4, 4, 4, 4, 4, 4,
4, 4, 4, 4, 4, 4, 4, 4, 4, 4,
4, 4, 4, 4, 4, 4, 4, 4, 4, 4,
4, 4, 4, 4, 4, 4, 4, 4, 4, 4,
4, 4, 4, 4, 4, 4, 5
};
static void
act37()
{
NLA = Eof;
}
static void
act38()
{
NLA = 7;
zzmode(START); zzskip();
}
static void
act39()
{
NLA = 8;
zzskip();
}
static void
act40()
{
NLA = 9;
zzline++; zzskip();
}
static void
act41()
{
NLA = 10;
zzskip();
}
unsigned char shift2[257] = {
0, 4, 4, 4, 4, 4, 4, 4, 4, 4,
4, 3, 4, 4, 4, 4, 4, 4, 4, 4,
4, 4, 4, 4, 4, 4, 4, 4, 4, 4,
4, 4, 4, 4, 4, 4, 4, 4, 4, 4,
4, 4, 4, 1, 4, 4, 4, 4, 2, 4,
4, 4, 4, 4, 4, 4, 4, 4, 4, 4,
4, 4, 4, 4, 4, 4, 4, 4, 4, 4,
4, 4, 4, 4, 4, 4, 4, 4, 4, 4,
4, 4, 4, 4, 4, 4, 4, 4, 4, 4,
4, 4, 4, 4, 4, 4, 4, 4, 4, 4,
4, 4, 4, 4, 4, 4, 4, 4, 4, 4,
4, 4, 4, 4, 4, 4, 4, 4, 4, 4,
4, 4, 4, 4, 4, 4, 4, 4, 4, 4,
4, 4, 4, 4, 4, 4, 4, 4, 4, 4,
4, 4, 4, 4, 4, 4, 4, 4, 4, 4,
4, 4, 4, 4, 4, 4, 4, 4, 4, 4,
4, 4, 4, 4, 4, 4, 4, 4, 4, 4,
4, 4, 4, 4, 4, 4, 4, 4, 4, 4,
4, 4, 4, 4, 4, 4, 4, 4, 4, 4,
4, 4, 4, 4, 4, 4, 4, 4, 4, 4,
4, 4, 4, 4, 4, 4, 4, 4, 4, 4,
4, 4, 4, 4, 4, 4, 4, 4, 4, 4,
4, 4, 4, 4, 4, 4, 4, 4, 4, 4,
4, 4, 4, 4, 4, 4, 4, 4, 4, 4,
4, 4, 4, 4, 4, 4, 4, 4, 4, 4,
4, 4, 4, 4, 4, 4, 5
};
static void
act42()
{
NLA = Eof;
}
static void
act43()
{
NLA = Action;
/* these do not nest */
zzmode(START);
NLATEXT[0] = ' ';
NLATEXT[1] = ' ';
zzbegexpr[0] = ' ';
zzbegexpr[1] = ' ';
if ( zzbufovf ) {
warn( eMsgd("action buffer overflow; size %d",ZZLEXBUFSIZE));
}
}
static void
act44()
{
NLA = Pred;
/* these do not nest */
zzmode(START);
NLATEXT[0] = ' ';
NLATEXT[1] = ' ';
zzbegexpr[0] = ' ';
zzbegexpr[1] = ' ';
zzbegexpr[2] = ' ';
if ( zzbufovf ) {
warn( eMsgd("predicate buffer overflow; size %d",ZZLEXBUFSIZE));
}
}
static void
act45()
{
NLA = PassAction;
if ( topint() == ']' ) {
popint();
if ( istackempty() ) /* terminate action */
{
zzmode(START);
NLATEXT[0] = ' ';
zzbegexpr[0] = ' ';
if ( zzbufovf ) {
warn( eMsgd("parameter buffer overflow; size %d",ZZLEXBUFSIZE));
}
}
else {
/* terminate zzconstr_attr(..) and zzmk_ast(zzastnew(),..) */
zzreplstr(")");
zzmore();
}
}
else if ( topint() == '|' ) { /* end of simple [...] */
popint();
zzmore();
}
else zzmore();
}
static void
act46()
{
NLA = 14;
zzline++; zzmore();
}
static void
act47()
{
NLA = 15;
zzmore();
}
static void
act48()
{
NLA = 16;
zzmore();
}
static void
act49()
{
NLA = 17;
zzreplstr("zzaRet"); zzmore();
}
static void
act50()
{
NLA = 18;
zzreplstr("zzempty_attr"); zzmore();
}
static void
act51()
{
NLA = 19;
pushint(']');
zzreplstr("zzconstr_attr(");
zzmore();
}
static void
act52()
{
NLA = 20;
{
static char buf[100];
if ( strlen(zzbegexpr)>85 )
fatal(" i attrib ref too big");
sprintf(buf,"zzaArg(zztasp%d,%s)",
BlkLevel-1,zzbegexpr+1);
zzreplstr(buf);
zzmore();
}
}
static void
act53()
{
NLA = 21;
{
static char buf[100];
if ( strlen(zzbegexpr)>85 )
fatal(" i.field attrib ref too big");
zzbegexpr[strlen(zzbegexpr)-1] = ' ';
sprintf(buf,"zzaArg(zztasp%d,%s).",
BlkLevel-1,zzbegexpr+1);
zzreplstr(buf);
zzmore();
}
}
static void
act54()
{
NLA = 22;
{
static char buf[100];
static char i[20], j[20];
char *p,*q;
if (strlen(zzbegexpr)>85) fatal(" i.j attrib ref too big");
for (p=zzbegexpr+1,q= &i[0]; *p!='.'; p++) {
if ( q == &i[20] ) fatalFL("i of i.j attrib ref too big", FileStr[CurFile], zzline );
*q++ = *p;
}
*q = '\0';
for (p++, q= &j[0]; *p!='\0'; p++) {
if ( q == &j[20] ) fatalFL("j of i.j attrib ref too big", FileStr[CurFile], zzline );
*q++ = *p;
}
*q = '\0';
sprintf(buf,"zzaArg(zztasp%s,%s)",i,j);
zzreplstr(buf);
zzmore();
}
}
static void
act55()
{
NLA = 23;
{ static char buf[300];
zzbegexpr[0] = ' ';
if ( CurRule != NULL &&
strcmp(CurRule, &zzbegexpr[1])==0 ) {
zzreplstr("zzaRet");
}
else if ( CurRetDef != NULL ) {
if ( strmember(CurRetDef, &zzbegexpr[1]) ) {
if ( HasComma( CurRetDef ) ) {
require (strlen(zzbegexpr)<=285,
" retval attrib ref too big");
sprintf(buf,"_retv.%s",&zzbegexpr[1]);
zzreplstr(buf);
}
else zzreplstr("_retv");
}
else if ( CurParmDef != NULL ) {
if ( !strmember(CurParmDef, &zzbegexpr[1]) )
warn(eMsg1("$%s not parameter or return value",&zzbegexpr[1]));
}
else warn(eMsg1("$%s not parameter or return value",&zzbegexpr[1]));
}
}
zzmore();
}
static void
act56()
{
NLA = 24;
zzreplstr("(*_root)"); zzmore();
}
static void
act57()
{
NLA = 25;
zzreplstr("zzastnew()"); zzmore();
}
static void
act58()
{
NLA = 26;
zzreplstr("NULL"); zzmore();
}
static void
act59()
{
NLA = 27;
{
static char buf[100];
if ( strlen(zzbegexpr)>85 )
fatal("#i AST ref too big");
sprintf(buf,"zzastArg(%s)",zzbegexpr+1);
zzreplstr(buf);
zzmore();
}
}
static void
act60()
{
NLA = 28;
pushint(']');
zzreplstr("zzmk_ast(zzastnew(),");
zzmore();
}
static void
act61()
{
NLA = 29;
pushint('}');
zzreplstr("zztmake(");
zzmore();
}
static void
act62()
{
NLA = 30;
zzmore();
}
static void
act63()
{
NLA = 31;
if ( istackempty() )
zzmore();
else if ( topint()==')' ) {
popint();
}
else if ( topint()=='}' ) {
popint();
/* terminate zztmake(.., NULL) */
zzreplstr(", NULL)");
}
zzmore();
}
static void
act64()
{
NLA = 32;
pushint('|'); /* look for '|' to terminate simple [...] */
zzmore();
}
static void
act65()
{
NLA = 33;
pushint(')');
zzmore();
}
static void
act66()
{
NLA = 34;
zzreplstr("]"); zzmore();
}
static void
act67()
{
NLA = 35;
zzreplstr(")"); zzmore();
}
static void
act68()
{
NLA = 36;
zzreplstr(">"); zzmore();
}
static void
act69()
{
NLA = 37;
zzreplstr("$"); zzmore();
}
static void
act70()
{
NLA = 38;
zzreplstr("#"); zzmore();
}
static void
act71()
{
NLA = 39;
zzmore();
}
static void
act72()
{
NLA = 40;
zzmore();
}
static void
act73()
{
NLA = 41;
zzmore();
}
unsigned char shift3[257] = {
0, 15, 15, 15, 15, 15, 15, 15, 15, 15,
15, 4, 15, 15, 15, 15, 15, 15, 15, 15,
15, 15, 15, 15, 15, 15, 15, 15, 15, 15,
15, 15, 15, 15, 15, 15, 11, 5, 15, 15,
15, 12, 13, 15, 15, 15, 15, 9, 15, 7,
8, 8, 8, 8, 8, 8, 8, 8, 8, 15,
15, 15, 15, 1, 2, 15, 10, 10, 10, 10,
10, 10, 10, 10, 10, 10, 10, 10, 10, 10,
10, 10, 10, 10, 10, 10, 10, 10, 10, 10,
10, 10, 6, 14, 3, 15, 10, 15, 10, 10,
10, 10, 10, 10, 10, 10, 10, 10, 10, 10,
10, 10, 10, 10, 10, 10, 10, 10, 10, 10,
10, 10, 10, 10, 15, 15, 15, 15, 15, 15,
15, 15, 15, 15, 15, 15, 15, 15, 15, 15,
15, 15, 15, 15, 15, 15, 15, 15, 15, 15,
15, 15, 15, 15, 15, 15, 15, 15, 15, 15,
15, 15, 15, 15, 15, 15, 15, 15, 15, 15,
15, 15, 15, 15, 15, 15, 15, 15, 15, 15,
15, 15, 15, 15, 15, 15, 15, 15, 15, 15,
15, 15, 15, 15, 15, 15, 15, 15, 15, 15,
15, 15, 15, 15, 15, 15, 15, 15, 15, 15,
15, 15, 15, 15, 15, 15, 15, 15, 15, 15,
15, 15, 15, 15, 15, 15, 15, 15, 15, 15,
15, 15, 15, 15, 15, 15, 15, 15, 15, 15,
15, 15, 15, 15, 15, 15, 15, 15, 15, 15,
15, 15, 15, 15, 15, 15, 16
};
#define DfaStates 112
typedef unsigned char DfaState;
static DfaState st0[38] = {
1, 2, 3, 4, 5, 6, 7, 8, 9, 10,
11, 11, 11, 11, 11, 12, 13, 14, 11, 11,
11, 11, 11, 11, 11, 11, 15, 16, 11, 17,
18, 19, 20, 21, 11, 22, 112, 112
};
static DfaState st1[38] = {
112, 112, 112, 112, 112, 112, 112, 112, 112, 112,
112, 112, 112, 112, 112, 112, 112, 112, 112, 112,
112, 112, 112, 112, 112, 112, 112, 112, 112, 112,
112, 112, 112, 112, 112, 112, 112, 112
};
static DfaState st2[38] = {
112, 2, 112, 112, 112, 112, 112, 112, 112, 112,
112, 112, 112, 112, 112, 112, 112, 112, 112, 112,
112, 112, 112, 112, 112, 112, 112, 112, 112, 112,
112, 112, 112, 112, 112, 112, 112, 112
};
static DfaState st3[38] = {
112, 112, 112, 112, 112, 112, 112, 112, 112, 112,
112, 112, 112, 112, 112, 112, 112, 112, 112, 112,
112, 112, 112, 112, 112, 112, 112, 112, 112, 112,
112, 112, 112, 112, 112, 112, 112, 112
};
static DfaState st4[38] = {
112, 112, 112, 112, 112, 112, 112, 112, 112, 112,
112, 112, 112, 112, 112, 112, 112, 112, 112, 112,
112, 112, 112, 112, 112, 112, 112, 112, 112, 112,
112, 112, 112, 112, 112, 112, 112, 112
};
static DfaState st5[38] = {
112, 112, 112, 112, 23, 112, 112, 112, 112, 112,
112, 112, 112, 112, 112, 112, 112, 112, 112, 112,
112, 112, 112, 112, 112, 112, 112, 112, 112, 112,
112, 112, 112, 112, 112, 112, 112, 112
};
static DfaState st6[38] = {
112, 112, 112, 112, 112, 112, 112, 112, 112, 112,
112, 112, 112, 112, 112, 112, 112, 112, 112, 112,
112, 112, 112, 112, 112, 112, 112, 112, 112, 112,
112, 112, 112, 112, 112, 112, 112, 112
};
static DfaState st7[38] = {
112, 112, 112, 112, 112, 112, 112, 24, 112, 112,
112, 112, 112, 112, 112, 112, 112, 112, 112, 112,
112, 112, 112, 112, 112, 112, 112, 112, 112, 112,
112, 112, 112, 112, 112, 112, 112, 112
};
static DfaState st8[38] = {
112, 112, 112, 112, 112, 112, 25, 112, 112, 112,
112, 112, 112, 112, 112, 112, 112, 112, 112, 112,
112, 112, 112, 112, 112, 112, 112, 112, 112, 112,
112, 112, 112, 112, 112, 112, 112, 112
};
static DfaState st9[38] = {
112, 112, 112, 112, 112, 112, 112, 112, 26, 112,
112, 112, 112, 112, 112, 112, 112, 112, 112, 112,
112, 112, 112, 112, 112, 112, 112, 112, 112, 112,
112, 112, 112, 112, 112, 112, 112, 112
};
static DfaState st10[38] = {
112, 112, 112, 112, 112, 112, 112, 112, 112, 112,
27, 28, 29, 29, 29, 112, 112, 112, 30, 29,
29, 31, 29, 29, 29, 29, 112, 112, 29, 112,
112, 112, 112, 112, 29, 29, 29, 112
};
static DfaState st11[38] = {
112, 112, 112, 112, 112, 112, 112, 112, 112, 112,
32, 32, 32, 32, 32, 112, 112, 112, 32, 32,
32, 32, 32, 32, 32, 32, 112, 112, 32, 112,
112, 112, 112, 112, 32, 32, 32, 112
};
static DfaState st12[38] = {
112, 112, 112, 112, 112, 112, 112, 112, 112, 112,
112, 112, 112, 112, 112, 112, 112, 112, 112, 112,
112, 112, 112, 112, 112, 112, 112, 112, 112, 112,
112, 112, 112, 112, 112, 112, 112, 112
};
static DfaState st13[38] = {
112, 112, 112, 112, 112, 112, 112, 112, 112, 112,
112, 112, 112, 112, 112, 112, 112, 112, 112, 112,
112, 112, 112, 112, 112, 112, 112, 112, 112, 112,
112, 112, 112, 112, 112, 112, 112, 112
};
static DfaState st14[38] = {
112, 112, 112, 112, 112, 112, 112, 112, 112, 112,
112, 112, 112, 112, 112, 112, 112, 112, 112, 112,
112, 112, 112, 112, 112, 112, 112, 112, 112, 112,
112, 112, 112, 112, 112, 112, 112, 112
};
static DfaState st15[38] = {
112, 112, 112, 112, 112, 112, 112, 112, 112, 112,
112, 112, 112, 112, 112, 112, 112, 112, 112, 112,
112, 112, 112, 112, 112, 112, 112, 112, 112, 112,
112, 112, 112, 112, 112, 112, 112, 112
};
static DfaState st16[38] = {
112, 112, 112, 112, 112, 112, 112, 112, 112, 112,
112, 112, 112, 112, 112, 112, 112, 112, 112, 112,
112, 112, 112, 112, 112, 112, 112, 112, 112, 112,
112, 112, 112, 112, 112, 112, 112, 112
};
static DfaState st17[38] = {
112, 112, 112, 112, 112, 112, 112, 112, 112, 112,
112, 112, 112, 112, 112, 112, 112, 112, 112, 112,
112, 112, 112, 112, 112, 112, 112, 112, 112, 112,
112, 112, 112, 112, 112, 112, 112, 112
};
static DfaState st18[38] = {
112, 112, 112, 112, 112, 112, 112, 112, 112, 112,
112, 112, 112, 112, 112, 112, 112, 112, 112, 112,
112, 112, 112, 112, 112, 112, 112, 112, 112, 112,
112, 112, 112, 112, 112, 112, 112, 112
};
static DfaState st19[38] = {
112, 112, 112, 112, 112, 112, 112, 112, 112, 112,
112, 112, 112, 112, 112, 112, 112, 112, 112, 112,
112, 112, 112, 112, 112, 112, 112, 112, 112, 112,
112, 112, 112, 112, 112, 112, 112, 112
};
static DfaState st20[38] = {
112, 112, 112, 112, 112, 112, 112, 112, 112, 112,
112, 112, 112, 112, 112, 112, 112, 112, 112, 112,
112, 112, 112, 112, 112, 112, 112, 112, 112, 112,
112, 112, 112, 112, 112, 112, 112, 112
};
static DfaState st21[38] = {
112, 112, 112, 112, 112, 112, 112, 112, 112, 112,
112, 112, 112, 112, 112, 112, 112, 112, 112, 112,
112, 112, 112, 112, 112, 112, 112, 112, 112, 112,
112, 112, 112, 112, 112, 112, 112, 112
};
static DfaState st22[38] = {
112, 112, 112, 112, 112, 112, 112, 112, 112, 112,
33, 33, 33, 33, 33, 112, 112, 112, 33, 33,
33, 33, 33, 33, 33, 33, 112, 112, 33, 112,
112, 112, 112, 112, 33, 33, 33, 112
};
static DfaState st23[38] = {
112, 112, 112, 112, 112, 112, 112, 112, 112, 112,
112, 112, 112, 112, 112, 112, 112, 112, 112, 112,
112, 112, 112, 112, 112, 112, 112, 112, 112, 112,
112, 112, 112, 112, 112, 112, 112, 112
};
static DfaState st24[38] = {
112, 112, 112, 112, 112, 112, 112, 112, 112, 112,
112, 112, 112, 112, 112, 112, 112, 112, 112, 112,
112, 112, 112, 112, 112, 112, 112, 112, 112, 112,
112, 112, 112, 112, 112, 112, 112, 112
};
static DfaState st25[38] = {
112, 112, 112, 112, 112, 112, 112, 112, 112, 112,
112, 112, 112, 112, 112, 112, 112, 112, 112, 112,
112, 112, 112, 112, 112, 112, 112, 112, 112, 112,
112, 112, 112, 112, 112, 112, 112, 112
};
static DfaState st26[38] = {
112, 112, 112, 112, 112, 112, 112, 112, 112, 112,
112, 112, 112, 112, 112, 112, 112, 112, 112, 112,
112, 112, 112, 112, 112, 112, 112, 112, 112, 112,
112, 112, 112, 112, 112, 112, 112, 112
};
static DfaState st27[38] = {
112, 112, 112, 112, 112, 112, 112, 112, 112, 112,
29, 34, 29, 29, 29, 112, 112, 112, 29, 29,
29, 29, 29, 29, 29, 29, 112, 112, 29, 112,
112, 112, 112, 112, 29, 29, 29, 112
};
static DfaState st28[38] = {
112, 112, 112, 112, 112, 112, 112, 112, 112, 112,
29, 29, 29, 29, 35, 112, 112, 112, 29, 29,
29, 29, 29, 29, 29, 29, 112, 112, 29, 112,
112, 112, 112, 112, 29, 29, 29, 112
};
static DfaState st29[38] = {
112, 112, 112, 112, 112, 112, 112, 112, 112, 112,
29, 29, 29, 29, 29, 112, 112, 112, 29, 29,
29, 29, 29, 29, 29, 29, 112, 112, 29, 112,
112, 112, 112, 112, 29, 29, 29, 112
};
static DfaState st30[38] = {
112, 112, 112, 112, 112, 112, 112, 112, 112, 112,
29, 36, 29, 29, 29, 112, 112, 112, 29, 29,
29, 29, 29, 29, 29, 29, 112, 112, 29, 112,
112, 112, 112, 112, 29, 29, 29, 112
};
static DfaState st31[38] = {
112, 112, 112, 112, 112, 112, 112, 112, 112, 112,
29, 29, 29, 29, 29, 112, 112, 112, 29, 29,
29, 29, 29, 37, 29, 29, 112, 112, 29, 112,
112, 112, 112, 112, 29, 29, 29, 112
};
static DfaState st32[38] = {
112, 112, 112, 112, 112, 112, 112, 112, 112, 112,
32, 32, 32, 32, 32, 112, 112, 112, 32, 32,
32, 32, 32, 32, 32, 32, 112, 112, 32, 112,
112, 112, 112, 112, 32, 32, 32, 112
};
static DfaState st33[38] = {
112, 112, 112, 112, 112, 112, 112, 112, 112, 112,
33, 33, 33, 33, 33, 112, 112, 112, 33, 33,
33, 33, 33, 33, 33, 33, 112, 112, 33, 112,
112, 112, 112, 112, 33, 33, 33, 112
};
static DfaState st34[38] = {
112, 112, 112, 112, 112, 112, 112, 112, 112, 112,
29, 29, 38, 29, 29, 112, 112, 112, 29, 29,
29, 29, 29, 29, 29, 29, 112, 112, 29, 112,
112, 112, 112, 112, 29, 29, 29, 112
};
static DfaState st35[38] = {
112, 112, 112, 112, 112, 112, 112, 112, 112, 112,
29, 29, 29, 29, 39, 112, 112, 112, 29, 29,
29, 29, 29, 29, 29, 29, 112, 112, 29, 112,
112, 112, 112, 112, 29, 29, 29, 112
};
static DfaState st36[38] = {
112, 112, 112, 112, 112, 112, 112, 112, 112, 112,
29, 29, 29, 29, 29, 112, 112, 112, 29, 40,
29, 29, 29, 29, 29, 29, 112, 112, 29, 112,
112, 112, 112, 112, 29, 29, 29, 112
};
static DfaState st37[38] = {
112, 112, 112, 112, 112, 112, 112, 112, 112, 112,
29, 29, 29, 29, 29, 112, 112, 112, 29, 29,
29, 29, 29, 29, 29, 29, 112, 112, 41, 112,
112, 112, 112, 112, 29, 29, 29, 112
};
static DfaState st38[38] = {
112, 112, 112, 112, 112, 112, 112, 112, 112, 112,
29, 29, 29, 42, 29, 112, 112, 112, 29, 29,
29, 29, 29, 29, 29, 29, 112, 112, 29, 112,
112, 112, 112, 112, 29, 29, 29, 112
};
static DfaState st39[38] = {
112, 112, 112, 112, 112, 112, 112, 112, 112, 112,
29, 29, 29, 29, 29, 112, 112, 112, 29, 29,
43, 29, 29, 29, 29, 29, 112, 112, 29, 112,
112, 112, 112, 112, 29, 29, 29, 112
};
static DfaState st40[38] = {
112, 112, 112, 112, 112, 112, 112, 112, 112, 112,
29, 29, 44, 29, 29, 112, 112, 112, 29, 29,
45, 29, 29, 29, 29, 29, 112, 112, 29, 112,
112, 112, 112, 112, 29, 29, 29, 112
};
static DfaState st41[38] = {
112, 112, 112, 112, 112, 112, 112, 112, 112, 112,
29, 46, 29, 29, 29, 112, 112, 112, 29, 29,
29, 29, 29, 29, 29, 29, 112, 112, 29, 112,
112, 112, 112, 112, 29, 29, 29, 112
};
static DfaState st42[38] = {
112, 112, 112, 112, 112, 112, 112, 112, 112, 112,
29, 47, 29, 29, 29, 112, 112, 112, 29, 29,
29, 29, 29, 29, 29, 29, 112, 112, 29, 112,
112, 112, 112, 112, 29, 29, 29, 112
};
static DfaState st43[38] = {
112, 112, 112, 112, 112, 112, 112, 112, 112, 112,
29, 29, 29, 29, 29, 112, 112, 112, 48, 29,
29, 29, 29, 29, 29, 29, 112, 112, 29, 112,
112, 112, 112, 112, 29, 29, 29, 112
};
static DfaState st44[38] = {
112, 112, 112, 112, 112, 112, 112, 112, 112, 112,
29, 29, 29, 29, 29, 112, 112, 112, 29, 29,
49, 29, 29, 29, 29, 29, 112, 112, 29, 112,
112, 112, 112, 112, 29, 29, 29, 112
};
static DfaState st45[38] = {
112, 112, 112, 112, 112, 112, 112, 112, 112, 112,
29, 29, 29, 29, 29, 112, 112, 112, 50, 29,
29, 29, 29, 29, 29, 29, 112, 112, 29, 112,
112, 112, 112, 112, 29, 29, 29, 112
};
static DfaState st46[38] = {
112, 112, 112, 112, 112, 112, 112, 112, 112, 112,
29, 29, 29, 29, 29, 112, 112, 112, 29, 29,
29, 29, 29, 29, 51, 29, 112, 112, 29, 112,
112, 112, 112, 112, 29, 29, 29, 112
};
static DfaState st47[38] = {
112, 112, 112, 112, 112, 112, 112, 112, 112, 112,
29, 29, 29, 29, 52, 112, 112, 112, 29, 29,
29, 29, 29, 29, 29, 29, 112, 112, 29, 112,
112, 112, 112, 112, 29, 29, 29, 112
};
static DfaState st48[38] = {
112, 112, 112, 112, 112, 112, 112, 112, 112, 112,
29, 29, 53, 29, 29, 112, 112, 112, 29, 29,
29, 29, 29, 29, 29, 29, 112, 112, 29, 112,
112, 112, 112, 112, 29, 29, 29, 112
};
static DfaState st49[38] = {
112, 112, 112, 112, 112, 112, 112, 112, 112, 112,
29, 29, 29, 29, 29, 112, 112, 112, 29, 29,
29, 54, 29, 29, 29, 29, 112, 112, 29, 112,
112, 112, 112, 112, 29, 29, 29, 112
};
static DfaState st50[38] = {
112, 112, 112, 112, 112, 112, 112, 112, 112, 112,
29, 29, 55, 29, 29, 112, 112, 112, 29, 29,
29, 29, 29, 29, 29, 29, 112, 112, 29, 112,
112, 112, 112, 112, 29, 29, 29, 112
};
static DfaState st51[38] = {
112, 112, 112, 112, 112, 112, 112, 112, 112, 112,
29, 29, 29, 29, 29, 112, 112, 112, 29, 29,
29, 29, 29, 29, 29, 29, 112, 112, 29, 112,
112, 112, 112, 112, 29, 29, 29, 112
};
static DfaState st52[38] = {
112, 112, 112, 112, 112, 112, 112, 112, 112, 112,
29, 29, 29, 29, 29, 112, 112, 112, 29, 29,
29, 29, 29, 29, 29, 29, 112, 112, 29, 112,
112, 112, 112, 112, 29, 29, 29, 112
};
static DfaState st53[38] = {
112, 112, 112, 112, 112, 112, 112, 112, 112, 112,
29, 29, 29, 29, 29, 112, 112, 112, 29, 29,
29, 29, 29, 29, 29, 56, 112, 112, 29, 112,
112, 112, 112, 112, 29, 29, 29, 112
};
static DfaState st54[38] = {
112, 112, 112, 112, 112, 112, 112, 112, 112, 112,
29, 29, 29, 29, 29, 112, 112, 112, 29, 29,
29, 29, 57, 29, 29, 29, 112, 112, 29, 112,
112, 112, 112, 112, 29, 29, 29, 112
};
static DfaState st55[38] = {
112, 112, 112, 112, 112, 112, 112, 112, 112, 112,
29, 29, 29, 29, 29, 112, 112, 112, 29, 29,
29, 29, 29, 29, 29, 58, 112, 112, 29, 112,
112, 112, 112, 112, 29, 29, 29, 112
};
static DfaState st56[38] = {
112, 112, 112, 112, 112, 112, 112, 112, 112, 112,
29, 29, 29, 29, 29, 112, 112, 112, 29, 29,
29, 29, 29, 29, 29, 59, 112, 112, 29, 112,
112, 112, 112, 112, 29, 29, 29, 112
};
static DfaState st57[38] = {
112, 112, 112, 112, 112, 112, 112, 112, 112, 112,
29, 29, 29, 29, 29, 112, 112, 112, 29, 29,
29, 29, 29, 60, 29, 29, 112, 112, 29, 112,
112, 112, 112, 112, 29, 29, 29, 112
};
static DfaState st58[38] = {
112, 112, 112, 112, 112, 112, 112, 112, 112, 112,
29, 29, 29, 29, 29, 112, 112, 112, 29, 29,
29, 29, 29, 29, 29, 61, 112, 112, 29, 112,
112, 112, 112, 112, 29, 29, 29, 112
};
static DfaState st59[38] = {
112, 112, 112, 112, 112, 112, 112, 112, 112, 112,
29, 29, 29, 29, 29, 112, 112, 112, 29, 29,
29, 29, 29, 29, 29, 29, 112, 112, 29, 112,
112, 112, 112, 112, 29, 29, 29, 112
};
static DfaState st60[38] = {
112, 112, 112, 112, 112, 112, 112, 112, 112, 112,
29, 29, 29, 29, 29, 112, 112, 112, 29, 29,
29, 29, 29, 29, 62, 29, 112, 112, 29, 112,
112, 112, 112, 112, 29, 29, 29, 112
};
static DfaState st61[38] = {
112, 112, 112, 112, 112, 112, 112, 112, 112, 112,
29, 29, 29, 29, 29, 112, 112, 112, 29, 29,
29, 29, 29, 29, 29, 29, 112, 112, 29, 112,
112, 112, 112, 112, 29, 29, 29, 112
};
static DfaState st62[38] = {
112, 112, 112, 112, 112, 112, 112, 112, 112, 112,
29, 29, 29, 29, 29, 112, 112, 112, 29, 29,
29, 29, 29, 29, 29, 29, 112, 112, 29, 112,
112, 112, 112, 112, 29, 29, 29, 112
};
static DfaState st63[6] = {
64, 65, 66, 67, 68, 112
};
static DfaState st64[6] = {
112, 112, 112, 112, 112, 112
};
static DfaState st65[6] = {
112, 112, 112, 112, 112, 112
};
static DfaState st66[6] = {
112, 69, 70, 70, 70, 112
};
static DfaState st67[6] = {
112, 112, 112, 112, 112, 112
};
static DfaState st68[6] = {
112, 112, 112, 112, 68, 112
};
static DfaState st69[6] = {
112, 112, 112, 112, 112, 112
};
static DfaState st70[6] = {
112, 112, 112, 112, 112, 112
};
static DfaState st71[6] = {
72, 73, 74, 75, 74, 112
};
static DfaState st72[6] = {
112, 112, 112, 112, 112, 112
};
static DfaState st73[6] = {
112, 112, 76, 112, 112, 112
};
static DfaState st74[6] = {
112, 112, 74, 112, 74, 112
};
static DfaState st75[6] = {
112, 112, 112, 112, 112, 112
};
static DfaState st76[6] = {
112, 112, 112, 112, 112, 112
};
static DfaState st77[17] = {
78, 79, 80, 81, 82, 83, 84, 80, 80, 80,
80, 85, 86, 87, 88, 80, 112
};
static DfaState st78[17] = {
112, 112, 112, 112, 112, 112, 112, 112, 112, 112,
112, 112, 112, 112, 112, 112, 112
};
static DfaState st79[17] = {
112, 89, 112, 112, 112, 112, 112, 112, 112, 112,
112, 112, 112, 112, 112, 112, 112
};
static DfaState st80[17] = {
112, 112, 80, 112, 112, 112, 112, 80, 80, 80,
80, 112, 112, 112, 112, 80, 112
};
static DfaState st81[17] = {
112, 112, 112, 112, 112, 112, 112, 112, 112, 112,
112, 112, 112, 112, 112, 112, 112
};
static DfaState st82[17] = {
112, 112, 112, 112, 112, 112, 112, 112, 112, 112,
112, 112, 112, 112, 112, 112, 112
};
static DfaState st83[17] = {
112, 112, 112, 112, 112, 90, 91, 92, 92, 112,
93, 112, 112, 112, 112, 112, 112
};
static DfaState st84[17] = {
112, 112, 112, 112, 112, 112, 112, 112, 112, 112,
112, 112, 112, 112, 112, 112, 112
};
static DfaState st85[17] = {
112, 112, 112, 112, 112, 112, 94, 95, 96, 112,
112, 112, 97, 112, 112, 112, 112
};
static DfaState st86[17] = {
112, 112, 112, 112, 112, 112, 112, 112, 112, 112,
112, 112, 112, 112, 112, 112, 112
};
static DfaState st87[17] = {
112, 112, 112, 112, 112, 112, 112, 112, 112, 112,
112, 112, 112, 112, 112, 112, 112
};
static DfaState st88[17] = {
112, 98, 99, 100, 99, 101, 99, 99, 99, 99,
99, 102, 99, 103, 104, 99, 112
};
static DfaState st89[17] = {
112, 112, 105, 112, 112, 112, 112, 112, 112, 112,
112, 112, 112, 112, 112, 112, 112
};
static DfaState st90[17] = {
112, 112, 112, 112, 112, 112, 112, 112, 112, 112,
112, 112, 112, 112, 112, 112, 112
};
static DfaState st91[17] = {
112, 112, 112, 106, 112, 112, 112, 112, 112, 112,
112, 112, 112, 112, 112, 112, 112
};
static DfaState st92[17] = {
112, 112, 112, 112, 112, 112, 112, 92, 92, 107,
112, 112, 112, 112, 112, 112, 112
};
static DfaState st93[17] = {
112, 112, 112, 112, 112, 112, 112, 108, 108, 112,
108, 112, 112, 112, 112, 112, 112
};
static DfaState st94[17] = {
112, 112, 112, 109, 112, 112, 112, 112, 112, 112,
112, 112, 112, 112, 112, 112, 112
};
static DfaState st95[17] = {
112, 112, 112, 112, 112, 112, 112, 96, 96, 112,
112, 112, 112, 112, 112, 112, 112
};
static DfaState st96[17] = {
112, 112, 112, 112, 112, 112, 112, 96, 96, 112,
112, 112, 112, 112, 112, 112, 112
};
static DfaState st97[17] = {
112, 112, 112, 112, 112, 112, 112, 112, 112, 112,
112, 112, 112, 110, 112, 112, 112
};
static DfaState st98[17] = {
112, 112, 112, 112, 112, 112, 112, 112, 112, 112,
112, 112, 112, 112, 112, 112, 112
};
static DfaState st99[17] = {
112, 112, 112, 112, 112, 112, 112, 112, 112, 112,
112, 112, 112, 112, 112, 112, 112
};
static DfaState st100[17] = {
112, 112, 112, 112, 112, 112, 112, 112, 112, 112,
112, 112, 112, 112, 112, 112, 112
};
static DfaState st101[17] = {
112, 112, 112, 112, 112, 112, 112, 112, 112, 112,
112, 112, 112, 112, 112, 112, 112
};
static DfaState st102[17] = {
112, 112, 112, 112, 112, 112, 112, 112, 112, 112,
112, 112, 112, 112, 112, 112, 112
};
static DfaState st103[17] = {
112, 112, 112, 112, 112, 112, 112, 112, 112, 112,
112, 112, 112, 112, 112, 112, 112
};
static DfaState st104[17] = {
112, 112, 112, 112, 112, 112, 112, 112, 112, 112,
112, 112, 112, 112, 112, 112, 112
};
static DfaState st105[17] = {
112, 112, 112, 112, 112, 112, 112, 112, 112, 112,
112, 112, 112, 112, 112, 112, 112
};
static DfaState st106[17] = {
112, 112, 112, 112, 112, 112, 112, 112, 112, 112,
112, 112, 112, 112, 112, 112, 112
};
static DfaState st107[17] = {
112, 112, 112, 112, 112, 112, 112, 111, 111, 112,
112, 112, 112, 112, 112, 112, 112
};
static DfaState st108[17] = {
112, 112, 112, 112, 112, 112, 112, 108, 108, 112,
108, 112, 112, 112, 112, 112, 112
};
static DfaState st109[17] = {
112, 112, 112, 112, 112, 112, 112, 112, 112, 112,
112, 112, 112, 112, 112, 112, 112
};
static DfaState st110[17] = {
112, 112, 112, 112, 112, 112, 112, 112, 112, 112,
112, 112, 112, 112, 112, 112, 112
};
static DfaState st111[17] = {
112, 112, 112, 112, 112, 112, 112, 111, 111, 112,
112, 112, 112, 112, 112, 112, 112
};
DfaState *dfa[112] = {
st0,
st1,
st2,
st3,
st4,
st5,
st6,
st7,
st8,
st9,
st10,
st11,
st12,
st13,
st14,
st15,
st16,
st17,
st18,
st19,
st20,
st21,
st22,
st23,
st24,
st25,
st26,
st27,
st28,
st29,
st30,
st31,
st32,
st33,
st34,
st35,
st36,
st37,
st38,
st39,
st40,
st41,
st42,
st43,
st44,
st45,
st46,
st47,
st48,
st49,
st50,
st51,
st52,
st53,
st54,
st55,
st56,
st57,
st58,
st59,
st60,
st61,
st62,
st63,
st64,
st65,
st66,
st67,
st68,
st69,
st70,
st71,
st72,
st73,
st74,
st75,
st76,
st77,
st78,
st79,
st80,
st81,
st82,
st83,
st84,
st85,
st86,
st87,
st88,
st89,
st90,
st91,
st92,
st93,
st94,
st95,
st96,
st97,
st98,
st99,
st100,
st101,
st102,
st103,
st104,
st105,
st106,
st107,
st108,
st109,
st110,
st111
};
DfaState accepts[112] = {
0, 1, 2, 3, 4, 12, 6, 0, 26, 13,
30, 28, 11, 14, 15, 19, 20, 22, 23, 24,
25, 27, 29, 5, 7, 8, 9, 30, 30, 30,
30, 30, 28, 29, 30, 30, 30, 30, 30, 30,
30, 30, 30, 30, 30, 30, 30, 30, 30, 30,
30, 21, 10, 30, 30, 30, 30, 30, 30, 18,
30, 17, 16, 0, 31, 32, 0, 34, 36, 33,
35, 0, 37, 39, 41, 40, 38, 0, 42, 47,
73, 45, 46, 48, 64, 62, 65, 63, 0, 43,
49, 51, 52, 55, 60, 56, 59, 61, 68, 72,
66, 69, 70, 67, 71, 44, 50, 53, 55, 57,
58, 54
};
void (*actions[74])() = {
zzerraction,
act1,
act2,
act3,
act4,
act5,
act6,
act7,
act8,
act9,
act10,
act11,
act12,
act13,
act14,
act15,
act16,
act17,
act18,
act19,
act20,
act21,
act22,
act23,
act24,
act25,
act26,
act27,
act28,
act29,
act30,
act31,
act32,
act33,
act34,
act35,
act36,
act37,
act38,
act39,
act40,
act41,
act42,
act43,
act44,
act45,
act46,
act47,
act48,
act49,
act50,
act51,
act52,
act53,
act54,
act55,
act56,
act57,
act58,
act59,
act60,
act61,
act62,
act63,
act64,
act65,
act66,
act67,
act68,
act69,
act70,
act71,
act72,
act73
};
static int dfa_base[] = {
0,
63,
71,
77
};
static int dfa_class_no[] = {
37,
5,
5,
16
};
static unsigned char *b_class_no[] = {
shift0,
shift1,
shift2,
shift3
};
#define ZZSHIFT(c) (b_class_no[zzauto][1+c])
#define MAX_MODE 4
#include "dlgauto.h"