err.c
资源名称:pccts133.zip [点击查看]
上传用户:itx_2006
上传日期:2007-01-06
资源大小:493k
文件大小:11k
源码类别:
编译器/解释器
开发平台:
Others
- /*
- * 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: antlr.g
- *
- * Terence Parr, Russell Quong, Will Cohen, and Hank Dietz: 1989-1998
- * Parr Research Corporation
- * with Purdue University Electrical Engineering
- * With AHPCRC, University of Minnesota
- * ANTLR Version 1.33MR14
- */
- #define ANTLR_VERSION 13314
- #include "pcctscfg.h"
- #include PCCTS_STDIO_H
- #include "set.h"
- #include <ctype.h>
- #include "syn.h"
- #include "hash.h"
- #include "generic.h"
- #define zzcr_attr(attr,tok,t)
- #define zzSET_SIZE 20
- #include "antlr.h"
- #include "tokens.h"
- #include "dlgdef.h"
- #include "err.h"
- ANTLRChar *zztokens[156]={
- /* 00 */ "Invalid",
- /* 01 */ "Eof",
- /* 02 */ "QuotedTerm",
- /* 03 */ "\n|\r|\r\n",
- /* 04 */ "\(\n|\r|\r\n)",
- /* 05 */ "\~[]",
- /* 06 */ "~[\n\r"\]+",
- /* 07 */ """,
- /* 08 */ "\n|\r|\r\n",
- /* 09 */ "\(\n|\r|\r\n)",
- /* 10 */ "\~[]",
- /* 11 */ "~[\n\r"\]+",
- /* 12 */ "'",
- /* 13 */ "\n|\r|\r\n",
- /* 14 */ "\~[]",
- /* 15 */ "~[\n\r'\]+",
- /* 16 */ "\*/",
- /* 17 */ "\*",
- /* 18 */ "\n|\r|\r\n",
- /* 19 */ "~[\n\r\*]+",
- /* 20 */ "\*/",
- /* 21 */ "\*",
- /* 22 */ "\n|\r|\r\n",
- /* 23 */ "~[\n\r\*]+",
- /* 24 */ "\n|\r|\r\n",
- /* 25 */ "~[\n\r]+",
- /* 26 */ "\n|\r|\r\n",
- /* 27 */ "~[\n\r]+",
- /* 28 */ "\n|\r|\r\n",
- /* 29 */ "~[\n\r]+",
- /* 30 */ "\*/",
- /* 31 */ "\*",
- /* 32 */ "\n|\r|\r\n",
- /* 33 */ "~[\n\r\*]+",
- /* 34 */ "Action",
- /* 35 */ "Pred",
- /* 36 */ "PassAction",
- /* 37 */ "consumeUntil\( [\ \t]* \{~[\}]+\} [\ \t]* \)",
- /* 38 */ "consumeUntil\( ~[\)]+ \)",
- /* 39 */ "\n|\r|\r\n",
- /* 40 */ "\>",
- /* 41 */ "$",
- /* 42 */ "$$",
- /* 43 */ "$\[\]",
- /* 44 */ "$\[",
- /* 45 */ "$[0-9]+",
- /* 46 */ "$[0-9]+.",
- /* 47 */ "$[0-9]+.[0-9]+",
- /* 48 */ "$[_a-zA-Z][_a-zA-Z0-9]*",
- /* 49 */ "#0",
- /* 50 */ "#\[\]",
- /* 51 */ "#\(\)",
- /* 52 */ "#[0-9]+",
- /* 53 */ "#line[\ \t]* [0-9]+ {[\ \t]* "~["]+" ([\ \t]* [0-9]*)* } (\n|\r|\r\n)",
- /* 54 */ "#line ~[\n\r]* (\n|\r|\r\n)",
- /* 55 */ "#[_a-zA-Z][_a-zA-Z0-9]*",
- /* 56 */ "#\[",
- /* 57 */ "#\(",
- /* 58 */ "#",
- /* 59 */ "\)",
- /* 60 */ "\[",
- /* 61 */ "\(",
- /* 62 */ "\\]",
- /* 63 */ "\\)",
- /* 64 */ "\>",
- /* 65 */ "'",
- /* 66 */ """,
- /* 67 */ "\$",
- /* 68 */ "\#",
- /* 69 */ "\(\n|\r|\r\n)",
- /* 70 */ "\~[\]\)>$#]",
- /* 71 */ "/",
- /* 72 */ "/\*",
- /* 73 */ "\*/",
- /* 74 */ "//",
- /* 75 */ "~[\n\r\)\(\$#\>\]\["'/]+",
- /* 76 */ "[\t\ ]+",
- /* 77 */ "\n|\r|\r\n",
- /* 78 */ "\[",
- /* 79 */ "\<\<",
- /* 80 */ """,
- /* 81 */ "/\*",
- /* 82 */ "\*/",
- /* 83 */ "//",
- /* 84 */ "#line[\ \t]* [0-9]+ {[\ \t]* "~["]+" ([\ \t]* [0-9]*)* } (\n|\r|\r\n)",
- /* 85 */ "#line ~[\n\r]* (\n|\r|\r\n)",
- /* 86 */ "\>\>",
- /* 87 */ "WildCard",
- /* 88 */ "\@",
- /* 89 */ "LABEL",
- /* 90 */ "grammar-element",
- /* 91 */ "meta-symbol",
- /* 92 */ "{\}#header",
- /* 93 */ "{\}#first",
- /* 94 */ "{\}#parser",
- /* 95 */ "{\}#tokdefs",
- /* 96 */ "\}",
- /* 97 */ "class",
- /* 98 */ "NonTerminal",
- /* 99 */ "TokenTerm",
- /* 100 */ "\{",
- /* 101 */ "!",
- /* 102 */ "\<",
- /* 103 */ "\>",
- /* 104 */ ":",
- /* 105 */ ";",
- /* 106 */ "{\}#lexaction",
- /* 107 */ "{\}#lexmember",
- /* 108 */ "{\}#lexprefix",
- /* 109 */ "{\}#pred",
- /* 110 */ "\|\|",
- /* 111 */ "&&",
- /* 112 */ "\(",
- /* 113 */ "\)",
- /* 114 */ "{\}#lexclass",
- /* 115 */ "{\}#errclass",
- /* 116 */ "{\}#tokclass",
- /* 117 */ "..",
- /* 118 */ "{\}#token",
- /* 119 */ "=",
- /* 120 */ "[0-9]+",
- /* 121 */ "\|",
- /* 122 */ "\~",
- /* 123 */ "^",
- /* 124 */ "{\}#pragma",
- /* 125 */ "approx",
- /* 126 */ "LL(1)",
- /* 127 */ "LL(2)",
- /* 128 */ "\*",
- /* 129 */ "\+",
- /* 130 */ "?",
- /* 131 */ "=>",
- /* 132 */ "exception",
- /* 133 */ "default",
- /* 134 */ "catch",
- /* 135 */ "{\}#[A-Za-z0-9_]*",
- /* 136 */ "[\t\ ]+",
- /* 137 */ "\n|\r|\r\n",
- /* 138 */ "//",
- /* 139 */ "/\*",
- /* 140 */ "#ifdef",
- /* 141 */ "#if",
- /* 142 */ "#ifndef",
- /* 143 */ "#else",
- /* 144 */ "#endif",
- /* 145 */ "#undef",
- /* 146 */ "#import",
- /* 147 */ "ID",
- /* 148 */ "#define",
- /* 149 */ "INT",
- /* 150 */ "enum",
- /* 151 */ "\{",
- /* 152 */ "=",
- /* 153 */ ",",
- /* 154 */ "\}",
- /* 155 */ ";"
- };
- SetWordType zzerr1[20] = {0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x0,
- 0xc,0x0,0x0,0x0, 0x0,0x0,0x0,0x0};
- SetWordType zzerr2[20] = {0xfc,0xff,0xff,0xff, 0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xf3,
- 0xef,0xff,0xff,0xff, 0xff,0xff,0xff,0xf};
- SetWordType setwd1[156] = {0x0,0x50,0x20,0x20,0x20,0x20,0x20,
- 0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,
- 0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,
- 0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,
- 0x20,0x20,0x20,0x6a,0x20,0xa0,0x20,0x20,
- 0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,
- 0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,
- 0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,
- 0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,
- 0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,
- 0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,
- 0x20,0x20,0x20,0x0,0x0,0x21,0x21,0x21,
- 0x21,0x6e,0x6e,0x64,0x20,0x0,0x20,0xa0,
- 0x20,0x20,0x20,0x6a,0x6a,0x6a,0x6e,0x20,
- 0x20,0x20,0x20,0x66,0x6e,0x6e,0x20,0x66,
- 0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,
- 0x20,0x20,0x20,0x20,0x20,0x62,0x20,0x20,
- 0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,
- 0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,
- 0x20,0x20,0x20,0x20,0x20};
- SetWordType zzerr3[20] = {0x0,0x0,0x0,0x0, 0x8,0x0,0x0,0x0, 0x0,0x0,0x0,0x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x0,
- 0x0,0xe2,0xe2,0x0,0x0,0xe4,0x0,0x0,
- 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
- 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
- 0x0,0x0,0x0,0x0,0x0};
- SetWordType zzerr14[20] = {0x4,0x0,0x0,0x0, 0x0,0x0,0x0,0x0, 0x0,0x0,0x80,0x0,
- 0xc,0x0,0x0,0x0, 0x0,0x0,0x0,0x0};
- SetWordType zzerr15[20] = {0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x0,
- 0x0,0x0,0x0,0xe0, 0x0,0x0,0x0,0x0};
- SetWordType zzerr16[20] = {0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x0,
- 0x0,0x80,0x0,0x0, 0x8,0x0,0x0,0x0};
- SetWordType zzerr17[20] = {0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x4,
- 0x1,0x82,0x2,0x6, 0x18,0x0,0x0,0x0};
- SetWordType zzerr18[20] = {0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x4,
- 0x1,0x2,0x2,0x6, 0x14,0x0,0x0,0x0};
- SetWordType zzerr19[20] = {0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x0,
- 0x10,0x0,0x1,0x0, 0x0,0x0,0x0,0x0};
- SetWordType zzerr20[20] = {0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x4,
- 0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x0};
- SetWordType zzerr21[20] = {0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x0,
- 0xc,0x0,0x0,0x0, 0x0,0x0,0x0,0x0};
- SetWordType setwd5[156] = {0x0,0x80,0x38,0x0,0x0,0x0,0x0,
- 0x0,0x0,0x0,0x0,0x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