home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
pccts1.zip
/
ANTLR
/
SCAN.C
< prev
next >
Wrap
C/C++ Source or Header
|
1993-09-02
|
47KB
|
2,369 lines
/* parser.dlg -- DLG Description of scanner
*
* Generated from: antlr.g
*
* Terence Parr, Will Cohen, and Hank Dietz: 1989-1993
* Purdue University Electrical Engineering
* ANTLR Version 1.10
*/
#include <stdio.h>
#define ANTLR_VERSION 110
#ifdef __cplusplus
#ifndef __STDC__
#define __STDC__
#endif
#endif
#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.10a
*/
#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 = 62;
zzskip();
}
static void
act3()
{
NLA = 63;
zzline++; zzskip();
}
static void
act4()
{
NLA = 64;
zzmode(ACTIONS); zzmore();
istackreset();
pushint(']');
}
static void
act5()
{
NLA = 65;
action_file=CurFile; action_line=zzline;
zzmode(ACTIONS); zzmore();
istackreset();
pushint('>');
}
static void
act6()
{
NLA = 66;
zzmode(STRINGS); zzmore();
}
static void
act7()
{
NLA = 67;
zzmode(COMMENTS); zzskip();
}
static void
act8()
{
NLA = 68;
warn("Missing /*; found dangling */"); zzskip();
}
static void
act9()
{
NLA = 69;
zzmode(CPP_COMMENTS); zzskip();
}
static void
act10()
{
NLA = 70;
warn("Missing <<; found dangling \>\>"); zzskip();
}
static void
act11()
{
NLA = 71;
}
static void
act12()
{
NLA = 72;
}
static void
act13()
{
NLA = 74;
}
static void
act14()
{
NLA = 75;
}
static void
act15()
{
NLA = 76;
}
static void
act16()
{
NLA = 77;
}
static void
act17()
{
NLA = 78;
}
static void
act18()
{
NLA = 79;
}
static void
act19()
{
NLA = 80;
}
static void
act20()
{
NLA = 82;
}
static void
act21()
{
NLA = 83;
}
static void
act22()
{
NLA = 84;
}
static void
act23()
{
NLA = 85;
}
static void
act24()
{
NLA = 86;
}
static void
act25()
{
NLA = 87;
}
static void
act26()
{
NLA = 88;
}
static void
act27()
{
NLA = 89;
}
static void
act28()
{
NLA = 90;
}
static void
act29()
{
NLA = 91;
}
static void
act30()
{
NLA = 92;
}
static void
act31()
{
NLA = NonTerminal;
}
static void
act32()
{
NLA = TokenTerm;
}
static void
act33()
{
NLA = 93;
warn(eMsg1("unknown meta-op: %s",LATEXT(1))); zzskip();
}
unsigned char shift0[257] = {
0, 39, 39, 39, 39, 39, 39, 39, 39, 39,
1, 2, 39, 39, 2, 39, 39, 39, 39, 39,
39, 39, 39, 39, 39, 39, 39, 39, 39, 39,
39, 39, 39, 1, 17, 5, 9, 39, 39, 39,
39, 32, 33, 7, 34, 39, 39, 39, 6, 38,
38, 38, 38, 38, 38, 38, 38, 38, 38, 18,
19, 4, 39, 8, 35, 39, 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, 3, 39, 39, 31, 38, 39, 12, 36,
22, 13, 11, 36, 36, 10, 24, 36, 29, 20,
36, 26, 25, 15, 36, 14, 16, 23, 36, 36,
36, 21, 36, 36, 27, 30, 28, 39, 39, 39,
39, 39, 39, 39, 39, 39, 39, 39, 39, 39,
39, 39, 39, 39, 39, 39, 39, 39, 39, 39,
39, 39, 39, 39, 39, 39, 39, 39, 39, 39,
39, 39, 39, 39, 39, 39, 39, 39, 39, 39,
39, 39, 39, 39, 39, 39, 39, 39, 39, 39,
39, 39, 39, 39, 39, 39, 39, 39, 39, 39,
39, 39, 39, 39, 39, 39, 39, 39, 39, 39,
39, 39, 39, 39, 39, 39, 39, 39, 39, 39,
39, 39, 39, 39, 39, 39, 39, 39, 39, 39,
39, 39, 39, 39, 39, 39, 39, 39, 39, 39,
39, 39, 39, 39, 39, 39, 39, 39, 39, 39,
39, 39, 39, 39, 39, 39, 39, 39, 39, 39,
39, 39, 39, 39, 39, 39, 39
};
static void
act34()
{
NLA = Eof;
}
static void
act35()
{
NLA = QuotedTerm;
zzmode(START);
}
static void
act36()
{
NLA = 3;
zzline++;
warn("eoln found in string");
zzskip();
}
static void
act37()
{
NLA = 4;
zzmore();
}
static void
act38()
{
NLA = 5;
zzmore();
}
unsigned char shift1[257] = {
0, 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, 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, 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, 4, 4, 4, 4, 4,
4, 4, 4, 4, 4, 4, 4, 4, 4, 4,
4, 4, 4, 4, 4, 4, 4, 4, 4, 4,
4, 4, 4, 4, 4, 4, 4, 4, 4, 4,
4, 4, 4, 4, 4, 4, 4, 4, 4, 4,
4, 4, 4, 4, 4, 4, 4, 4, 4, 4,
4, 4, 4, 4, 4, 4, 4, 4, 4, 4,
4, 4, 4, 4, 4, 4, 4, 4, 4, 4,
4, 4, 4, 4, 4, 4, 4, 4, 4, 4,
4, 4, 4, 4, 4, 4, 4, 4, 4, 4,
4, 4, 4, 4, 4, 4, 4, 4, 4, 4,
4, 4, 4, 4, 4, 4, 4, 4, 4, 4,
4, 4, 4, 4, 4, 4, 4, 4, 4, 4,
4, 4, 4, 4, 4, 4, 4
};
static void
act39()
{
NLA = Eof;
}
static void
act40()
{
NLA = 6;
zzmode(ACTIONS); zzmore();
}
static void
act41()
{
NLA = 7;
zzline++;
warn("eoln found in string (in user action)");
zzskip();
}
static void
act42()
{
NLA = 8;
zzmore();
}
static void
act43()
{
NLA = 9;
zzmore();
}
unsigned char shift2[257] = {
0, 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, 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, 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, 4, 4, 4, 4, 4,
4, 4, 4, 4, 4, 4, 4, 4, 4, 4,
4, 4, 4, 4, 4, 4, 4, 4, 4, 4,
4, 4, 4, 4, 4, 4, 4, 4, 4, 4,
4, 4, 4, 4, 4, 4, 4, 4, 4, 4,
4, 4, 4, 4, 4, 4, 4, 4, 4, 4,
4, 4, 4, 4, 4, 4, 4, 4, 4, 4,
4, 4, 4, 4, 4, 4, 4, 4, 4, 4,
4, 4, 4, 4, 4, 4, 4, 4, 4, 4,
4, 4, 4, 4, 4, 4, 4, 4, 4, 4,
4, 4, 4, 4, 4, 4, 4, 4, 4, 4,
4, 4, 4, 4, 4, 4, 4, 4, 4, 4,
4, 4, 4, 4, 4, 4, 4, 4, 4, 4,
4, 4, 4, 4, 4, 4, 4
};
static void
act44()
{
NLA = Eof;
}
static void
act45()
{
NLA = 10;
zzmode(ACTIONS); zzmore();
}
static void
act46()
{
NLA = 11;
zzline++;
warn("eoln found in char literal (in user action)");
zzskip();
}
static void
act47()
{
NLA = 12;
zzmore();
}
static void
act48()
{
NLA = 13;
zzmore();
}
unsigned char shift3[257] = {
0, 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,
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, 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, 4, 4, 4, 4, 4,
4, 4, 4, 4, 4, 4, 4, 4, 4, 4,
4, 4, 4, 4, 4, 4, 4, 4, 4, 4,
4, 4, 4, 4, 4, 4, 4, 4, 4, 4,
4, 4, 4, 4, 4, 4, 4, 4, 4, 4,
4, 4, 4, 4, 4, 4, 4, 4, 4, 4,
4, 4, 4, 4, 4, 4, 4, 4, 4, 4,
4, 4, 4, 4, 4, 4, 4, 4, 4, 4,
4, 4, 4, 4, 4, 4, 4, 4, 4, 4,
4, 4, 4, 4, 4, 4, 4, 4, 4, 4,
4, 4, 4, 4, 4, 4, 4, 4, 4, 4,
4, 4, 4, 4, 4, 4, 4, 4, 4, 4,
4, 4, 4, 4, 4, 4, 4, 4, 4, 4,
4, 4, 4, 4, 4, 4, 4
};
static void
act49()
{
NLA = Eof;
}
static void
act50()
{
NLA = 14;
zzmode(ACTIONS); zzmore();
}
static void
act51()
{
NLA = 15;
zzmore();
}
static void
act52()
{
NLA = 16;
zzline++; zzmore();
}
static void
act53()
{
NLA = 17;
zzmore();
}
unsigned char shift4[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, 4
};
static void
act54()
{
NLA = Eof;
}
static void
act55()
{
NLA = 18;
zzline++; zzmode(ACTIONS); zzmore();
}
static void
act56()
{
NLA = 19;
zzmore();
}
unsigned char shift5[257] = {
0, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 1, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2
};
static void
act57()
{
NLA = Eof;
}
static void
act58()
{
NLA = 20;
zzline++; zzmode(START); zzskip();
}
static void
act59()
{
NLA = 21;
zzskip();
}
unsigned char shift6[257] = {
0, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 1, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2
};
static void
act60()
{
NLA = Eof;
}
static void
act61()
{
NLA = 22;
zzmode(START); zzskip();
}
static void
act62()
{
NLA = 23;
zzskip();
}
static void
act63()
{
NLA = 24;
zzline++; zzskip();
}
static void
act64()
{
NLA = 25;
zzskip();
}
unsigned char shift7[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, 4
};
static void
act65()
{
NLA = Eof;
}
static void
act66()
{
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
act67()
{
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
act68()
{
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 $[..] and #[..] */
zzreplstr(")");
zzmore();
}
}
else if ( topint() == '|' ) { /* end of simple [...] */
popint();
zzmore();
}
else zzmore();
}
static void
act69()
{
NLA = 29;
zzline++; zzmore();
}
static void
act70()
{
NLA = 30;
zzmore();
}
static void
act71()
{
NLA = 31;
zzmore();
}
static void
act72()
{
NLA = 32;
zzreplstr("zzaRet"); zzmore();
}
static void
act73()
{
NLA = 33;
zzreplstr("zzempty_attr"); zzmore();
}
static void
act74()
{
NLA = 34;
pushint(']');
zzreplstr("zzconstr_attr(");
zzmore();
}
static void
act75()
{
NLA = 35;
{
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
act76()
{
NLA = 36;
{
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
act77()
{
NLA = 37;
{
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
act78()
{
NLA = 38;
{ 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
act79()
{
NLA = 39;
zzreplstr("(*_root)"); zzmore();
}
static void
act80()
{
NLA = 40;
zzreplstr("zzastnew()"); zzmore();
}
static void
act81()
{
NLA = 41;
zzreplstr("NULL"); zzmore();
}
static void
act82()
{
NLA = 42;
{
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
act83()
{
NLA = 43;
pushint(']');
zzreplstr("zzmk_ast(zzastnew(),");
zzmore();
}
static void
act84()
{
NLA = 44;
pushint('}');
zzreplstr("zztmake(");
zzmore();
}
static void
act85()
{
NLA = 45;
zzmore();
}
static void
act86()
{
NLA = 46;
if ( istackempty() )
zzmore();
else if ( topint()==')' ) {
popint();
}
else if ( topint()=='}' ) {
popint();
/* terminate #(..) */
zzreplstr(", NULL)");
}
zzmore();
}
static void
act87()
{
NLA = 47;
pushint('|'); /* look for '|' to terminate simple [...] */
zzmore();
}
static void
act88()
{
NLA = 48;
pushint(')');
zzmore();
}
static void
act89()
{
NLA = 49;
zzreplstr("]"); zzmore();
}
static void
act90()
{
NLA = 50;
zzreplstr(")"); zzmore();
}
static void
act91()
{
NLA = 51;
zzreplstr(">"); zzmore();
}
static void
act92()
{
NLA = 52;
zzmode(ACTION_CHARS); zzmore();
}
static void
act93()
{
NLA = 53;
zzmode(ACTION_STRINGS); zzmore();
}
static void
act94()
{
NLA = 54;
zzreplstr("$"); zzmore();
}
static void
act95()
{
NLA = 55;
zzreplstr("#"); zzmore();
}
static void
act96()
{
NLA = 56;
zzmore();
}
static void
act97()
{
NLA = 57;
zzmore();
}
static void
act98()
{
NLA = 58;
zzmode(ACTION_COMMENTS); zzmore();
}
static void
act99()
{
NLA = 59;
warn("Missing /*; found dangling */ in action"); zzmore();
}
static void
act100()
{
NLA = 60;
zzmode(ACTION_CPP_COMMENTS); zzmore();
}
static void
act101()
{
NLA = 61;
zzmore();
}
unsigned char shift8[257] = {
0, 19, 19, 19, 19, 19, 19, 19, 19, 19,
19, 4, 19, 19, 19, 19, 19, 19, 19, 19,
19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
19, 19, 19, 19, 19, 16, 11, 5, 19, 19,
15, 12, 13, 18, 19, 19, 19, 9, 17, 7,
8, 8, 8, 8, 8, 8, 8, 8, 8, 19,
19, 19, 19, 1, 2, 19, 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, 19, 10, 19, 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, 19, 19, 19, 19, 19, 19,
19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
19, 19, 19, 19, 19, 19, 19
};
#define DfaStates 153
typedef unsigned short DfaState;
static DfaState st0[40] = {
1, 2, 3, 4, 5, 6, 7, 8, 9, 10,
11, 11, 11, 11, 11, 11, 11, 12, 13, 14,
11, 11, 11, 11, 11, 11, 11, 15, 16, 11,
17, 18, 19, 20, 21, 22, 11, 23, 153, 153
};
static DfaState st1[40] = {
153, 153, 153, 153, 153, 153, 153, 153, 153, 153,
153, 153, 153, 153, 153, 153, 153, 153, 153, 153,
153, 153, 153, 153, 153, 153, 153, 153, 153, 153,
153, 153, 153, 153, 153, 153, 153, 153, 153, 153
};
static DfaState st2[40] = {
153, 2, 153, 153, 153, 153, 153, 153, 153, 153,
153, 153, 153, 153, 153, 153, 153, 153, 153, 153,
153, 153, 153, 153, 153, 153, 153, 153, 153, 153,
153, 153, 153, 153, 153, 153, 153, 153, 153, 153
};
static DfaState st3[40] = {
153, 153, 153, 153, 153, 153, 153, 153, 153, 153,
153, 153, 153, 153, 153, 153, 153, 153, 153, 153,
153, 153, 153, 153, 153, 153, 153, 153, 153, 153,
153, 153, 153, 153, 153, 153, 153, 153, 153, 153
};
static DfaState st4[40] = {
153, 153, 153, 153, 153, 153, 153, 153, 153, 153,
153, 153, 153, 153, 153, 153, 153, 153, 153, 153,
153, 153, 153, 153, 153, 153, 153, 153, 153, 153,
153, 153, 153, 153, 153, 153, 153, 153, 153, 153
};
static DfaState st5[40] = {
153, 153, 153, 153, 24, 153, 153, 153, 153, 153,
153, 153, 153, 153, 153, 153, 153, 153, 153, 153,
153, 153, 153, 153, 153, 153, 153, 153, 153, 153,
153, 153, 153, 153, 153, 153, 153, 153, 153, 153
};
static DfaState st6[40] = {
153, 153, 153, 153, 153, 153, 153, 153, 153, 153,
153, 153, 153, 153, 153, 153, 153, 153, 153, 153,
153, 153, 153, 153, 153, 153, 153, 153, 153, 153,
153, 153, 153, 153, 153, 153, 153, 153, 153, 153
};
static DfaState st7[40] = {
153, 153, 153, 153, 153, 153, 25, 26, 153, 153,
153, 153, 153, 153, 153, 153, 153, 153, 153, 153,
153, 153, 153, 153, 153, 153, 153, 153, 153, 153,
153, 153, 153, 153, 153, 153, 153, 153, 153, 153
};
static DfaState st8[40] = {
153, 153, 153, 153, 153, 153, 27, 153, 153, 153,
153, 153, 153, 153, 153, 153, 153, 153, 153, 153,
153, 153, 153, 153, 153, 153, 153, 153, 153, 153,
153, 153, 153, 153, 153, 153, 153, 153, 153, 153
};
static DfaState st9[40] = {
153, 153, 153, 153, 153, 153, 153, 153, 28, 153,
153, 153, 153, 153, 153, 153, 153, 153, 153, 153,
153, 153, 153, 153, 153, 153, 153, 153, 153, 153,
153, 153, 153, 153, 153, 153, 153, 153, 153, 153
};
static DfaState st10[40] = {
153, 153, 153, 153, 153, 153, 153, 153, 153, 153,
29, 30, 31, 31, 31, 32, 31, 153, 153, 153,
33, 31, 31, 34, 31, 31, 31, 153, 153, 31,
153, 153, 153, 153, 153, 153, 31, 31, 31, 153
};
static DfaState st11[40] = {
153, 153, 153, 153, 153, 153, 153, 153, 153, 153,
35, 35, 35, 35, 35, 35, 35, 153, 153, 153,
35, 35, 35, 35, 35, 35, 35, 153, 153, 35,
153, 153, 153, 153, 153, 153, 35, 35, 35, 153
};
static DfaState st12[40] = {
153, 153, 153, 153, 153, 153, 153, 153, 153, 153,
153, 153, 153, 153, 153, 153, 153, 153, 153, 153,
153, 153, 153, 153, 153, 153, 153, 153, 153, 153,
153, 153, 153, 153, 153, 153, 153, 153, 153, 153
};
static DfaState st13[40] = {
153, 153, 153, 153, 153, 153, 153, 153, 153, 153,
153, 153, 153, 153, 153, 153, 153, 153, 153, 153,
153, 153, 153, 153, 153, 153, 153, 153, 153, 153,
153, 153, 153, 153, 153, 153, 153, 153, 153, 153
};
static DfaState st14[40] = {
153, 153, 153, 153, 153, 153, 153, 153, 153, 153,
153, 153, 153, 153, 153, 153, 153, 153, 153, 153,
153, 153, 153, 153, 153, 153, 153, 153, 153, 153,
153, 153, 153, 153, 153, 153, 153, 153, 153, 153
};
static DfaState st15[40] = {
153, 153, 153, 153, 153, 153, 153, 153, 153, 153,
153, 153, 153, 153, 153, 153, 153, 153, 153, 153,
153, 153, 153, 153, 153, 153, 153, 153, 153, 153,
153, 153, 153, 153, 153, 153, 153, 153, 153, 153
};
static DfaState st16[40] = {
153, 153, 153, 153, 153, 153, 153, 153, 153, 153,
153, 153, 153, 153, 153, 153, 153, 153, 153, 153,
153, 153, 153, 153, 153, 153, 153, 153, 153, 153,
153, 153, 153, 153, 153, 153, 153, 153, 153, 153
};
static DfaState st17[40] = {
153, 153, 153, 153, 153, 153, 153, 153, 153, 153,
153, 153, 153, 153, 153, 153, 153, 153, 153, 153,
153, 153, 153, 153, 153, 153, 153, 153, 153, 153,
153, 153, 153, 153, 153, 153, 153, 153, 153, 153
};
static DfaState st18[40] = {
153, 153, 153, 153, 153, 153, 153, 153, 153, 153,
153, 153, 153, 153, 153, 153, 153, 153, 153, 153,
153, 153, 153, 153, 153, 153, 153, 153, 153, 153,
153, 153, 153, 153, 153, 153, 153, 153, 153, 153
};
static DfaState st19[40] = {
153, 153, 153, 153, 153, 153, 153, 153, 153, 153,
153, 153, 153, 153, 153, 153, 153, 153, 153, 153,
153, 153, 153, 153, 153, 153, 153, 153, 153, 153,
153, 153, 153, 153, 153, 153, 153, 153, 153, 153
};
static DfaState st20[40] = {
153, 153, 153, 153, 153, 153, 153, 153, 153, 153,
153, 153, 153, 153, 153, 153, 153, 153, 153, 153,
153, 153, 153, 153, 153, 153, 153, 153, 153, 153,
153, 153, 153, 153, 153, 153, 153, 153, 153, 153
};
static DfaState st21[40] = {
153, 153, 153, 153, 153, 153, 153, 153, 153, 153,
153, 153, 153, 153, 153, 153, 153, 153, 153, 153,
153, 153, 153, 153, 153, 153, 153, 153, 153, 153,
153, 153, 153, 153, 153, 153, 153, 153, 153, 153
};
static DfaState st22[40] = {
153, 153, 153, 153, 153, 153, 153, 153, 153, 153,
153, 153, 153, 153, 153, 153, 153, 153, 153, 153,
153, 153, 153, 153, 153, 153, 153, 153, 153, 153,
153, 153, 153, 153, 153, 153, 153, 153, 153, 153
};
static DfaState st23[40] = {
153, 153, 153, 153, 153, 153, 153, 153, 153, 153,
36, 36, 36, 36, 36, 36, 36, 153, 153, 153,
36, 36, 36, 36, 36, 36, 36, 153, 153, 36,
153, 153, 153, 153, 153, 153, 36, 36, 36, 153
};
static DfaState st24[40] = {
153, 153, 153, 153, 153, 153, 153, 153, 153, 153,
153, 153, 153, 153, 153, 153, 153, 153, 153, 153,
153, 153, 153, 153, 153, 153, 153, 153, 153, 153,
153, 153, 153, 153, 153, 153, 153, 153, 153, 153
};
static DfaState st25[40] = {
153, 153, 153, 153, 153, 153, 153, 153, 153, 153,
153, 153, 153, 153, 153, 153, 153, 153, 153, 153,
153, 153, 153, 153, 153, 153, 153, 153, 153, 153,
153, 153, 153, 153, 153, 153, 153, 153, 153, 153
};
static DfaState st26[40] = {
153, 153, 153, 153, 153, 153, 153, 153, 153, 153,
153, 153, 153, 153, 153, 153, 153, 153, 153, 153,
153, 153, 153, 153, 153, 153, 153, 153, 153, 153,
153, 153, 153, 153, 153, 153, 153, 153, 153, 153
};
static DfaState st27[40] = {
153, 153, 153, 153, 153, 153, 153, 153, 153, 153,
153, 153, 153, 153, 153, 153, 153, 153, 153, 153,
153, 153, 153, 153, 153, 153, 153, 153, 153, 153,
153, 153, 153, 153, 153, 153, 153, 153, 153, 153
};
static DfaState st28[40] = {
153, 153, 153, 153, 153, 153, 153, 153, 153, 153,
153, 153, 153, 153, 153, 153, 153, 153, 153, 153,
153, 153, 153, 153, 153, 153, 153, 153, 153, 153,
153, 153, 153, 153, 153, 153, 153, 153, 153, 153
};
static DfaState st29[40] = {
153, 153, 153, 153, 153, 153, 153, 153, 153, 153,
31, 37, 31, 31, 31, 31, 31, 153, 153, 153,
31, 31, 31, 31, 31, 31, 31, 153, 153, 31,
153, 153, 153, 153, 153, 153, 31, 31, 31, 153
};
static DfaState st30[40] = {
153, 153, 153, 153, 153, 153, 153, 153, 153, 153,
31, 31, 31, 31, 38, 31, 31, 153, 153, 153,
31, 31, 31, 31, 31, 31, 31, 153, 153, 31,
153, 153, 153, 153, 153, 153, 31, 31, 31, 153
};
static DfaState st31[40] = {
153, 153, 153, 153, 153, 153, 153, 153, 153, 153,
31, 31, 31, 31, 31, 31, 31, 153, 153, 153,
31, 31, 31, 31, 31, 31, 31, 153, 153, 31,
153, 153, 153, 153, 153, 153, 31, 31, 31, 153
};
static DfaState st32[40] = {
153, 153, 153, 153, 153, 153, 153, 153, 153, 153,
31, 31, 39, 31, 31, 31, 31, 153, 153, 153,
31, 31, 31, 31, 31, 31, 31, 153, 153, 31,
153, 153, 153, 153, 153, 153, 31, 31, 31, 153
};
static DfaState st33[40] = {
153, 153, 153, 153, 153, 153, 153, 153, 153, 153,
31, 40, 31, 31, 31, 31, 31, 153, 153, 153,
31, 31, 31, 31, 31, 31, 31, 153, 153, 31,
153, 153, 153, 153, 153, 153, 31, 31, 31, 153
};
static DfaState st34[40] = {
153, 153, 153, 153, 153, 153, 153, 153, 153, 153,
31, 31, 31, 31, 31, 31, 31, 153, 153, 153,
31, 31, 31, 31, 31, 41, 31, 153, 153, 31,
153, 153, 153, 153, 153, 153, 31, 31, 31, 153
};
static DfaState st35[40] = {
153, 153, 153, 153, 153, 153, 153, 153, 153, 153,
35, 35, 35, 35, 35, 35, 35, 153, 153, 153,
35, 35, 35, 35, 35, 35, 35, 153, 153, 35,
153, 153, 153, 153, 153, 153, 35, 35, 35, 153
};
static DfaState st36[40] = {
153, 153, 153, 153, 153, 153, 153, 153, 153, 153,
36, 36, 36, 36, 36, 36, 36, 153, 153, 153,
36, 36, 36, 36, 36, 36, 36, 153, 153, 36,
153, 153, 153, 153, 153, 153, 36, 36, 36, 153
};
static DfaState st37[40] = {
153, 153, 153, 153, 153, 153, 153, 153, 153, 153,
31, 31, 42, 31, 31, 31, 31, 153, 153, 153,
31, 31, 31, 31, 31, 31, 31, 153, 153, 31,
153, 153, 153, 153, 153, 153, 31, 31, 31, 153
};
static DfaState st38[40] = {
153, 153, 153, 153, 153, 153, 153, 153, 153, 153,
31, 31, 31, 31, 43, 31, 31, 153, 153, 153,
31, 31, 31, 31, 31, 31, 31, 153, 153, 31,
153, 153, 153, 153, 153, 153, 31, 31, 31, 153
};
static DfaState st39[40] = {
153, 153, 153, 153, 153, 153, 153, 153, 153, 153,
31, 31, 31, 31, 44, 31, 31, 153, 153, 153,
31, 31, 31, 31, 31, 31, 31, 153, 153, 31,
153, 153, 153, 153, 153, 153, 31, 31, 31, 153
};
static DfaState st40[40] = {
153, 153, 153, 153, 153, 153, 153, 153, 153, 153,
31, 31, 31, 31, 31, 31, 31, 153, 153, 153,
31, 45, 31, 31, 31, 31, 31, 153, 153, 31,
153, 153, 153, 153, 153, 153, 31, 31, 31, 153
};
static DfaState st41[40] = {
153, 153, 153, 153, 153, 153, 153, 153, 153, 153,
31, 31, 31, 31, 31, 31, 31, 153, 153, 153,
31, 31, 31, 31, 31, 31, 31, 153, 153, 46,
153, 153, 153, 153, 153, 153, 31, 31, 31, 153
};
static DfaState st42[40] = {
153, 153, 153, 153, 153, 153, 153, 153, 153, 153,
31, 31, 31, 47, 31, 31, 31, 153, 153, 153,
31, 31, 31, 31, 31, 31, 31, 153, 153, 31,
153, 153, 153, 153, 153, 153, 31, 31, 31, 153
};
static DfaState st43[40] = {
153, 153, 153, 153, 153, 153, 153, 153, 153, 153,
31, 31, 31, 31, 31, 31, 31, 153, 153, 153,
31, 31, 48, 31, 31, 31, 31, 153, 153, 31,
153, 153, 153, 153, 153, 153, 31, 31, 31, 153
};
static DfaState st44[40] = {
153, 153, 153, 153, 153, 153, 153, 153, 153, 153,
31, 31, 31, 31, 31, 31, 49, 153, 153, 153,
31, 31, 31, 31, 31, 31, 31, 153, 153, 31,
153, 153, 153, 153, 153, 153, 31, 31, 31, 153
};
static DfaState st45[40] = {
153, 153, 153, 153, 153, 153, 153, 153, 153, 153,
31, 31, 50, 31, 31, 31, 31, 153, 153, 153,
31, 31, 51, 31, 31, 31, 31, 153, 153, 31,
153, 153, 153, 153, 153, 153, 31, 31, 31, 153
};
static DfaState st46[40] = {
153, 153, 153, 153, 153, 153, 153, 153, 153, 153,
31, 52, 31, 31, 31, 31, 31, 153, 153, 153,
31, 31, 31, 31, 31, 31, 31, 153, 153, 31,
153, 153, 153, 153, 153, 153, 31, 31, 31, 153
};
static DfaState st47[40] = {
153, 153, 153, 153, 153, 153, 153, 153, 153, 153,
31, 53, 31, 31, 31, 31, 31, 153, 153, 153,
31, 31, 31, 31, 31, 31, 31, 153, 153, 31,
153, 153, 153, 153, 153, 153, 31, 31, 31, 153
};
static DfaState st48[40] = {
153, 153, 153, 153, 153, 153, 153, 153, 153, 153,
31, 31, 31, 31, 31, 31, 31, 153, 153, 153,
54, 31, 31, 31, 31, 31, 31, 153, 153, 31,
153, 153, 153, 153, 153, 153, 31, 31, 31, 153
};
static DfaState st49[40] = {
153, 153, 153, 153, 153, 153, 153, 153, 153, 153,
31, 55, 31, 31, 31, 31, 31, 153, 153, 153,
31, 31, 31, 31, 31, 31, 31, 153, 153, 31,
153, 153, 153, 153, 153, 153, 31, 31, 31, 153
};
static DfaState st50[40] = {
153, 153, 153, 153, 153, 153, 153, 153, 153, 153,
31, 31, 31, 31, 31, 31, 31, 153, 153, 153,
31, 31, 56, 31, 31, 31, 31, 153, 153, 31,
153, 153, 153, 153, 153, 153, 31, 31, 31, 153
};
static DfaState st51[40] = {
153, 153, 153, 153, 153, 153, 153, 153, 153, 153,
31, 31, 31, 31, 31, 31, 31, 153, 153, 153,
57, 31, 31, 31, 31, 31, 31, 153, 153, 31,
153, 153, 153, 153, 153, 153, 31, 31, 31, 153
};
static DfaState st52[40] = {
153, 153, 153, 153, 153, 153, 153, 153, 153, 153,
31, 31, 31, 31, 31, 31, 31, 153, 153, 153,
31, 31, 31, 31, 31, 31, 58, 153, 153, 31,
153, 153, 153, 153, 153, 153, 31, 31, 31, 153
};
static DfaState st53[40] = {
153, 153, 153, 153, 153, 153, 153, 153, 153, 153,
31, 31, 31, 31, 59, 31, 31, 153, 153, 153,
31, 31, 31, 31, 31, 31, 31, 153, 153, 31,
153, 153, 153, 153, 153, 153, 31, 31, 31, 153
};
static DfaState st54[40] = {
153, 153, 153, 153, 153, 153, 153, 153, 153, 153,
31, 31, 60, 31, 31, 31, 31, 153, 153, 153,
31, 31, 31, 31, 31, 31, 31, 153, 153, 31,
153, 153, 153, 153, 153, 153, 31, 31, 31, 153
};
static DfaState st55[40] = {
153, 153, 153, 153, 153, 153, 153, 153, 153, 153,
31, 31, 31, 31, 61, 31, 31, 153, 153, 153,
31, 31, 31, 31, 31, 31, 31, 153, 153, 31,
153, 153, 153, 153, 153, 153, 31, 31, 31, 153
};
static DfaState st56[40] = {
153, 153, 153, 153, 153, 153, 153, 153, 153, 153,
31, 31, 31, 31, 31, 31, 31, 153, 153, 153,
31, 31, 31, 62, 31, 31, 31, 153, 153, 31,
153, 153, 153, 153, 153, 153, 31, 31, 31, 153
};
static DfaState st57[40] = {
153, 153, 153, 153, 153, 153, 153, 153, 153, 153,
31, 31, 63, 31, 31, 31, 31, 153, 153, 153,
31, 31, 31, 31, 31, 31, 31, 153, 153, 31,
153, 153, 153, 153, 153, 153, 31, 31, 31, 153
};
static DfaState st58[40] = {
153, 153, 153, 153, 153, 153, 153, 153, 153, 153,
31, 31, 31, 31, 31, 31, 31, 153, 153, 153,
31, 31, 31, 31, 31, 31, 31, 153, 153, 31,
153, 153, 153, 153, 153, 153, 31, 31, 31, 153
};
static DfaState st59[40] = {
153, 153, 153, 153, 153, 153, 153, 153, 153, 153,
31, 31, 31, 31, 31, 31, 31, 153, 153, 153,
31, 31, 31, 31, 31, 31, 31, 153, 153, 31,
153, 153, 153, 153, 153, 153, 31, 31, 31, 153
};
static DfaState st60[40] = {
153, 153, 153, 153, 153, 153, 153, 153, 153, 153,
31, 31, 31, 31, 31, 31, 64, 153, 153, 153,
31, 31, 31, 31, 31, 31, 31, 153, 153, 31,
153, 153, 153, 153, 153, 153, 31, 31, 31, 153
};
static DfaState st61[40] = {
153, 153, 153, 153, 153, 153, 153, 153, 153, 153,
31, 31, 31, 31, 31, 31, 31, 153, 153, 153,
31, 31, 31, 31, 31, 31, 31, 153, 153, 31,
153, 153, 153, 153, 153, 153, 31, 31, 31, 153
};
static DfaState st62[40] = {
153, 153, 153, 153, 153, 153, 153, 153, 153, 153,
31, 31, 31, 31, 31, 31, 31, 153, 153, 153,
31, 31, 31, 31, 65, 31, 31, 153, 153, 31,
153, 153, 153, 153, 153, 153, 31, 31, 31, 153
};
static DfaState st63[40] = {
153, 153, 153, 153, 153, 153, 153, 153, 153, 153,
31, 31, 31, 31, 31, 31, 66, 153, 153, 153,
31, 31, 31, 31, 31, 31, 31, 153, 153, 31,
153, 153, 153, 153, 153, 153, 31, 31, 31, 153
};
static DfaState st64[40] = {
153, 153, 153, 153, 153, 153, 153, 153, 153, 153,
31, 31, 31, 31, 31, 31, 67, 153, 153, 153,
31, 31, 31, 31, 31, 31, 31, 153, 153, 31,
153, 153, 153, 153, 153, 153, 31, 31, 31, 153
};
static DfaState st65[40] = {
153, 153, 153, 153, 153, 153, 153, 153, 153, 153,
31, 31, 31, 31, 31, 31, 31, 153, 153, 153,
31, 31, 31, 31, 31, 68, 31, 153, 153, 31,
153, 153, 153, 153, 153, 153, 31, 31, 31, 153
};
static DfaState st66[40] = {
153, 153, 153, 153, 153, 153, 153, 153, 153, 153,
31, 31, 31, 31, 31, 31, 69, 153, 153, 153,
31, 31, 31, 31, 31, 31, 31, 153, 153, 31,
153, 153, 153, 153, 153, 153, 31, 31, 31, 153
};
static DfaState st67[40] = {
153, 153, 153, 153, 153, 153, 153, 153, 153, 153,
31, 31, 31, 31, 31, 31, 31, 153, 153, 153,
31, 31, 31, 31, 31, 31, 31, 153, 153, 31,
153, 153, 153, 153, 153, 153, 31, 31, 31, 153
};
static DfaState st68[40] = {
153, 153, 153, 153, 153, 153, 153, 153, 153, 153,
31, 31, 31, 31, 31, 31, 31, 153, 153, 153,
31, 31, 31, 31, 31, 31, 70, 153, 153, 31,
153, 153, 153, 153, 153, 153, 31, 31, 31, 153
};
static DfaState st69[40] = {
153, 153, 153, 153, 153, 153, 153, 153, 153, 153,
31, 31, 31, 31, 31, 31, 31, 153, 153, 153,
31, 31, 31, 31, 31, 31, 31, 153, 153, 31,
153, 153, 153, 153, 153, 153, 31, 31, 31, 153
};
static DfaState st70[40] = {
153, 153, 153, 153, 153, 153, 153, 153, 153, 153,
31, 31, 31, 31, 31, 31, 31, 153, 153, 153,
31, 31, 31, 31, 31, 31, 31, 153, 153, 31,
153, 153, 153, 153, 153, 153, 31, 31, 31, 153
};
static DfaState st71[6] = {
72, 73, 74, 75, 76, 153
};
static DfaState st72[6] = {
153, 153, 153, 153, 153, 153
};
static DfaState st73[6] = {
153, 153, 153, 153, 153, 153
};
static DfaState st74[6] = {
153, 153, 153, 153, 153, 153
};
static DfaState st75[6] = {
153, 77, 77, 77, 77, 153
};
static DfaState st76[6] = {
153, 153, 153, 153, 76, 153
};
static DfaState st77[6] = {
153, 153, 153, 153, 153, 153
};
static DfaState st78[6] = {
79, 80, 81, 82, 83, 153
};
static DfaState st79[6] = {
153, 153, 153, 153, 153, 153
};
static DfaState st80[6] = {
153, 153, 153, 153, 153, 153
};
static DfaState st81[6] = {
153, 153, 153, 153, 153, 153
};
static DfaState st82[6] = {
153, 84, 84, 84, 84, 153
};
static DfaState st83[6] = {
153, 153, 153, 153, 83, 153
};
static DfaState st84[6] = {
153, 153, 153, 153, 153, 153
};
static DfaState st85[6] = {
86, 87, 88, 89, 90, 153
};
static DfaState st86[6] = {
153, 153, 153, 153, 153, 153
};
static DfaState st87[6] = {
153, 153, 153, 153, 153, 153
};
static DfaState st88[6] = {
153, 153, 153, 153, 153, 153
};
static DfaState st89[6] = {
153, 91, 91, 91, 91, 153
};
static DfaState st90[6] = {
153, 153, 153, 153, 90, 153
};
static DfaState st91[6] = {
153, 153, 153, 153, 153, 153
};
static DfaState st92[6] = {
93, 94, 95, 96, 95, 153
};
static DfaState st93[6] = {
153, 153, 153, 153, 153, 153
};
static DfaState st94[6] = {
153, 153, 97, 153, 153, 153
};
static DfaState st95[6] = {
153, 153, 95, 153, 95, 153
};
static DfaState st96[6] = {
153, 153, 153, 153, 153, 153
};
static DfaState st97[6] = {
153, 153, 153, 153, 153, 153
};
static DfaState st98[4] = {
99, 100, 101, 153
};
static DfaState st99[4] = {
153, 153, 153, 153
};
static DfaState st100[4] = {
153, 153, 153, 153
};
static DfaState st101[4] = {
153, 153, 101, 153
};
static DfaState st102[4] = {
103, 104, 105, 153
};
static DfaState st103[4] = {
153, 153, 153, 153
};
static DfaState st104[4] = {
153, 153, 153, 153
};
static DfaState st105[4] = {
153, 153, 105, 153
};
static DfaState st106[6] = {
107, 108, 109, 110, 109, 153
};
static DfaState st107[6] = {
153, 153, 153, 153, 153, 153
};
static DfaState st108[6] = {
153, 153, 111, 153, 153, 153
};
static DfaState st109[6] = {
153, 153, 109, 153, 109, 153
};
static DfaState st110[6] = {
153, 153, 153, 153, 153, 153
};
static DfaState st111[6] = {
153, 153, 153, 153, 153, 153
};
static DfaState st112[21] = {
113, 114, 115, 116, 117, 118, 119, 115, 115, 115,
115, 120, 121, 122, 123, 124, 125, 126, 127, 115,
153
};
static DfaState st113[21] = {
153, 153, 153, 153, 153, 153, 153, 153, 153, 153,
153, 153, 153, 153, 153, 153, 153, 153, 153, 153,
153
};
static DfaState st114[21] = {
153, 128, 153, 153, 153, 153, 153, 153, 153, 153,
153, 153, 153, 153, 153, 153, 153, 153, 153, 153,
153
};
static DfaState st115[21] = {
153, 153, 115, 153, 153, 153, 153, 115, 115, 115,
115, 153, 153, 153, 153, 153, 153, 153, 115, 115,
153
};
static DfaState st116[21] = {
153, 153, 153, 153, 153, 153, 153, 153, 153, 153,
153, 153, 153, 153, 153, 153, 153, 153, 153, 153,
153
};
static DfaState st117[21] = {
153, 153, 153, 153, 153, 153, 153, 153, 153, 153,
153, 153, 153, 153, 153, 153, 153, 153, 153, 153,
153
};
static DfaState st118[21] = {
153, 153, 153, 153, 153, 129, 130, 131, 131, 153,
132, 153, 153, 153, 153, 153, 153, 153, 153, 153,
153
};
static DfaState st119[21] = {
153, 153, 153, 153, 153, 153, 153, 153, 153, 153,
153, 153, 153, 153, 153, 153, 153, 153, 153, 153,
153
};
static DfaState st120[21] = {
153, 153, 153, 153, 153, 153, 133, 134, 135, 153,
153, 153, 136, 153, 153, 153, 153, 153, 153, 153,
153
};
static DfaState st121[21] = {
153, 153, 153, 153, 153, 153, 153, 153, 153, 153,
153, 153, 153, 153, 153, 153, 153, 153, 153, 153,
153
};
static DfaState st122[21] = {
153, 153, 153, 153, 153, 153, 153, 153, 153, 153,
153, 153, 153, 153, 153, 153, 153, 153, 153, 153,
153
};
static DfaState st123[21] = {
153, 137, 138, 139, 138, 140, 138, 138, 138, 138,
138, 141, 138, 142, 138, 138, 138, 138, 138, 138,
153
};
static DfaState st124[21] = {
153, 153, 153, 153, 153, 153, 153, 153, 153, 153,
153, 153, 153, 153, 153, 153, 153, 153, 153, 153,
153
};
static DfaState st125[21] = {
153, 153, 153, 153, 153, 153, 153, 153, 153, 153,
153, 153, 153, 153, 153, 153, 153, 153, 153, 153,
153
};
static DfaState st126[21] = {
153, 153, 153, 153, 153, 153, 153, 153, 153, 153,
153, 153, 153, 153, 153, 153, 153, 143, 144, 153,
153
};
static DfaState st127[21] = {
153, 153, 115, 153, 153, 153, 153, 115, 115, 115,
115, 153, 153, 153, 153, 153, 153, 145, 115, 115,
153
};
static DfaState st128[21] = {
153, 153, 146, 153, 153, 153, 153, 153, 153, 153,
153, 153, 153, 153, 153, 153, 153, 153, 153, 153,
153
};
static DfaState st129[21] = {
153, 153, 153, 153, 153, 153, 153, 153, 153, 153,
153, 153, 153, 153, 153, 153, 153, 153, 153, 153,
153
};
static DfaState st130[21] = {
153, 153, 153, 147, 153, 153, 153, 153, 153, 153,
153, 153, 153, 153, 153, 153, 153, 153, 153, 153,
153
};
static DfaState st131[21] = {
153, 153, 153, 153, 153, 153, 153, 131, 131, 148,
153, 153, 153, 153, 153, 153, 153, 153, 153, 153,
153
};
static DfaState st132[21] = {
153, 153, 153, 153, 153, 153, 153, 149, 149, 153,
149, 153, 153, 153, 153, 153, 153, 153, 153, 153,
153
};
static DfaState st133[21] = {
153, 153, 153, 150, 153, 153, 153, 153, 153, 153,
153, 153, 153, 153, 153, 153, 153, 153, 153, 153,
153
};
static DfaState st134[21] = {
153, 153, 153, 153, 153, 153, 153, 135, 135, 153,
153, 153, 153, 153, 153, 153, 153, 153, 153, 153,
153
};
static DfaState st135[21] = {
153, 153, 153, 153, 153, 153, 153, 135, 135, 153,
153, 153, 153, 153, 153, 153, 153, 153, 153, 153,
153
};
static DfaState st136[21] = {
153, 153, 153, 153, 153, 153, 153, 153, 153, 153,
153, 153, 153, 151, 153, 153, 153, 153, 153, 153,
153
};
static DfaState st137[21] = {
153, 153, 153, 153, 153, 153, 153, 153, 153, 153,
153, 153, 153, 153, 153, 153, 153, 153, 153, 153,
153
};
static DfaState st138[21] = {
153, 153, 153, 153, 153, 153, 153, 153, 153, 153,
153, 153, 153, 153, 153, 153, 153, 153, 153, 153,
153
};
static DfaState st139[21] = {
153, 153, 153, 153, 153, 153, 153, 153, 153, 153,
153, 153, 153, 153, 153, 153, 153, 153, 153, 153,
153
};
static DfaState st140[21] = {
153, 153, 153, 153, 153, 153, 153, 153, 153, 153,
153, 153, 153, 153, 153, 153, 153, 153, 153, 153,
153
};
static DfaState st141[21] = {
153, 153, 153, 153, 153, 153, 153, 153, 153, 153,
153, 153, 153, 153, 153, 153, 153, 153, 153, 153,
153
};
static DfaState st142[21] = {
153, 153, 153, 153, 153, 153, 153, 153, 153, 153,
153, 153, 153, 153, 153, 153, 153, 153, 153, 153,
153
};
static DfaState st143[21] = {
153, 153, 153, 153, 153, 153, 153, 153, 153, 153,
153, 153, 153, 153, 153, 153, 153, 153, 153, 153,
153
};
static DfaState st144[21] = {
153, 153, 153, 153, 153, 153, 153, 153, 153, 153,
153, 153, 153, 153, 153, 153, 153, 153, 153, 153,
153
};
static DfaState st145[21] = {
153, 153, 153, 153, 153, 153, 153, 153, 153, 153,
153, 153, 153, 153, 153, 153, 153, 153, 153, 153,
153
};
static DfaState st146[21] = {
153, 153, 153, 153, 153, 153, 153, 153, 153, 153,
153, 153, 153, 153, 153, 153, 153, 153, 153, 153,
153
};
static DfaState st147[21] = {
153, 153, 153, 153, 153, 153, 153, 153, 153, 153,
153, 153, 153, 153, 153, 153, 153, 153, 153, 153,
153
};
static DfaState st148[21] = {
153, 153, 153, 153, 153, 153, 153, 152, 152, 153,
153, 153, 153, 153, 153, 153, 153, 153, 153, 153,
153
};
static DfaState st149[21] = {
153, 153, 153, 153, 153, 153, 153, 149, 149, 153,
149, 153, 153, 153, 153, 153, 153, 153, 153, 153,
153
};
static DfaState st150[21] = {
153, 153, 153, 153, 153, 153, 153, 153, 153, 153,
153, 153, 153, 153, 153, 153, 153, 153, 153, 153,
153
};
static DfaState st151[21] = {
153, 153, 153, 153, 153, 153, 153, 153, 153, 153,
153, 153, 153, 153, 153, 153, 153, 153, 153, 153,
153
};
static DfaState st152[21] = {
153, 153, 153, 153, 153, 153, 153, 152, 152, 153,
153, 153, 153, 153, 153, 153, 153, 153, 153, 153,
153
};
DfaState *dfa[153] = {
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,
st112,
st113,
st114,
st115,
st116,
st117,
st118,
st119,
st120,
st121,
st122,
st123,
st124,
st125,
st126,
st127,
st128,
st129,
st130,
st131,
st132,
st133,
st134,
st135,
st136,
st137,
st138,
st139,
st140,
st141,
st142,
st143,
st144,
st145,
st146,
st147,
st148,
st149,
st150,
st151,
st152
};
DfaState accepts[154] = {
0, 1, 2, 3, 4, 14, 6, 0, 28, 15,
33, 31, 13, 16, 17, 21, 22, 24, 25, 26,
27, 29, 30, 32, 5, 9, 7, 8, 10, 33,
33, 33, 33, 33, 33, 31, 32, 33, 33, 33,
33, 33, 33, 33, 33, 33, 33, 33, 33, 33,
33, 33, 33, 33, 33, 33, 33, 33, 23, 11,
33, 12, 33, 33, 33, 33, 33, 20, 33, 19,
18, 0, 34, 35, 36, 0, 38, 37, 0, 39,
40, 41, 0, 43, 42, 0, 44, 45, 46, 0,
48, 47, 0, 49, 51, 53, 52, 50, 0, 54,
55, 56, 0, 57, 58, 59, 0, 60, 62, 64,
63, 61, 0, 65, 70, 101, 68, 69, 71, 87,
85, 88, 86, 0, 92, 93, 97, 101, 66, 72,
74, 75, 78, 83, 79, 82, 84, 91, 96, 89,
94, 95, 90, 100, 98, 99, 67, 73, 76, 78,
80, 81, 77, 0
};
void (*actions[102])() = {
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,
act74,
act75,
act76,
act77,
act78,
act79,
act80,
act81,
act82,
act83,
act84,
act85,
act86,
act87,
act88,
act89,
act90,
act91,
act92,
act93,
act94,
act95,
act96,
act97,
act98,
act99,
act100,
act101
};
static int dfa_base[] = {
0,
71,
78,
85,
92,
98,
102,
106,
112
};
static int dfa_class_no[] = {
39,
5,
5,
5,
5,
3,
3,
5,
20
};
static unsigned char *b_class_no[] = {
shift0,
shift1,
shift2,
shift3,
shift4,
shift5,
shift6,
shift7,
shift8
};
#define ZZSHIFT(c) (b_class_no[zzauto][1+c])
#define MAX_MODE 9
#include "dlgauto.h"