X-Git-Url: https://pd.if.org/git/?p=pccts;a=blobdiff_plain;f=dlg%2Ferr.c;fp=dlg%2Ferr.c;h=cb237022dfa01c61cd91308ab210cbfca564af3e;hp=0000000000000000000000000000000000000000;hb=a5858ad3d85781b0412eac53847e35a1bf24e70d;hpb=780a935d52ff31d98a3f1083ab0f363a7aafb30d diff --git a/dlg/err.c b/dlg/err.c new file mode 100755 index 0000000..cb23702 --- /dev/null +++ b/dlg/err.c @@ -0,0 +1,83 @@ +/* + * A n t l r S e t s / E r r o r F i l e H e a d e r + * + * Generated from: dlg_p.g + * + * Terence Parr, Russell Quong, Will Cohen, and Hank Dietz: 1989-1995 + * Parr Research Corporation + * with Purdue University Electrical Engineering + * With AHPCRC, University of Minnesota + * ANTLR Version 1.32 + */ + +#include +#define ANTLR_VERSION 132 + +#include +#include "dlg.h" +#ifdef MEMCHK +#include "trax.h" +#endif +#define zzSET_SIZE 8 +#include "antlr.h" +#include "tokens.h" +#include "dlgdef.h" +#include "err.h" + +ANTLRChar *zztokens[34]={ + /* 00 */ "Invalid", + /* 01 */ "@", + /* 02 */ "[\\r\\t\\ ]+", + /* 03 */ "\\n", + /* 04 */ "L_EOF", + /* 05 */ "PER_PER", + /* 06 */ "NAME_PER_PER", + /* 07 */ "ACTION", + /* 08 */ "GREAT_GREAT", + /* 09 */ "L_BRACE", + /* 10 */ "R_BRACE", + /* 11 */ "L_PAR", + /* 12 */ "R_PAR", + /* 13 */ "L_BRACK", + /* 14 */ "R_BRACK", + /* 15 */ "ZERO_MORE", + /* 16 */ "ONE_MORE", + /* 17 */ "OR", + /* 18 */ "RANGE", + /* 19 */ "NOT", + /* 20 */ "OCTAL_VALUE", + /* 21 */ "HEX_VALUE", + /* 22 */ "DEC_VALUE", + /* 23 */ "TAB", + /* 24 */ "NL", + /* 25 */ "CR", + /* 26 */ "BS", + /* 27 */ "LIT", + /* 28 */ "REGCHAR", + /* 29 */ "\\>", + /* 30 */ "\\\\>", + /* 31 */ "\\", + /* 32 */ "\\n", + /* 33 */ "~[\\>\\@\\n]+" +}; +SetWordType zzerr1[8] = {0x60,0x0,0x0,0x0, 0x0,0x0,0x0,0x0}; +SetWordType zzerr2[8] = {0xf0,0xaa,0xf9,0x1f, 0x0,0x0,0x0,0x0}; +SetWordType zzerr3[8] = {0x90,0xaa,0xf9,0x1f, 0x0,0x0,0x0,0x0}; +SetWordType setwd1[34] = {0x0,0x3,0x0,0x0,0x98,0x64,0x64, + 0x1a,0x0,0x98,0x0,0x98,0x0,0x98,0x0, + 0x98,0x98,0x0,0x0,0x98,0x98,0x98,0x98, + 0x98,0x98,0x98,0x98,0x98,0x98,0x0,0x0, + 0x0,0x0,0x0}; +SetWordType zzerr4[8] = {0x10,0xaa,0xf9,0x1f, 0x0,0x0,0x0,0x0}; +SetWordType zzerr5[8] = {0x10,0x2a,0xf8,0x1f, 0x0,0x0,0x0,0x0}; +SetWordType setwd2[34] = {0x0,0x0,0x0,0x0,0xf5,0x1,0x1, + 0xab,0x0,0xb5,0xaa,0xb5,0xaa,0xb5,0x0, + 0xa5,0xa5,0xa8,0x0,0xb5,0xf5,0xf5,0xf5, + 0xf5,0xf5,0xf5,0xf5,0xf5,0xf5,0x0,0x0, + 0x0,0x0,0x0}; +SetWordType zzerr6[8] = {0x10,0x0,0xf0,0x1f, 0x0,0x0,0x0,0x0}; +SetWordType setwd3[34] = {0x0,0x0,0x0,0x0,0x1d,0x0,0x0, + 0x18,0x0,0x18,0x18,0x18,0x18,0x18,0x16, + 0x18,0x18,0x18,0x10,0x18,0x1d,0x1d,0x1d, + 0x1d,0x1d,0x1d,0x1d,0x1d,0x1d,0x0,0x0, + 0x0,0x0,0x0};