]> pd.if.org Git - pccts/blobdiff - antlr/err.c
auto commit for import
[pccts] / antlr / err.c
diff --git a/antlr/err.c b/antlr/err.c
new file mode 100755 (executable)
index 0000000..30788e6
--- /dev/null
@@ -0,0 +1,317 @@
+/*
+ * 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-1995
+ * Parr Research Corporation
+ * with Purdue University Electrical Engineering
+ * With AHPCRC, University of Minnesota
+ * ANTLR Version 1.32
+ */
+
+#include <stdio.h>
+#define ANTLR_VERSION  132
+
+#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)
+#define zzSET_SIZE 20
+#include "antlr.h"
+#include "tokens.h"
+#include "dlgdef.h"
+#include "err.h"
+
+ANTLRChar *zztokens[146]={
+       /* 00 */        "Invalid",
+       /* 01 */        "Eof",
+       /* 02 */        "QuotedTerm",
+       /* 03 */        "[\\n\\r]",
+       /* 04 */        "\\[\\n\\r]",
+       /* 05 */        "\\~[]",
+       /* 06 */        "~[\\n\\r\"\\]+",
+       /* 07 */        "\"",
+       /* 08 */        "[\\n\\r]",
+       /* 09 */        "\\[\\n\\r]",
+       /* 10 */        "\\~[]",
+       /* 11 */        "~[\\n\\r\"\\]+",
+       /* 12 */        "'",
+       /* 13 */        "[\\n\\r]",
+       /* 14 */        "\\~[]",
+       /* 15 */        "~[\\n\\r'\\]+",
+       /* 16 */        "\\*/",
+       /* 17 */        "\\*",
+       /* 18 */        "[\\n\\r]",
+       /* 19 */        "~[\\n\\r\\*]+",
+       /* 20 */        "\\*/",
+       /* 21 */        "\\*",
+       /* 22 */        "[\\n\\r]",
+       /* 23 */        "~[\\n\\r\\*]+",
+       /* 24 */        "[\\n\\r]",
+       /* 25 */        "~[\\n\\r]+",
+       /* 26 */        "[\\n\\r]",
+       /* 27 */        "~[\\n\\r]+",
+       /* 28 */        "[\\n\\r]",
+       /* 29 */        "~[\\n\\r]+",
+       /* 30 */        "\\*/",
+       /* 31 */        "\\*",
+       /* 32 */        "[\\n\\r]",
+       /* 33 */        "~[\\n\\r\\*]+",
+       /* 34 */        "Action",
+       /* 35 */        "Pred",
+       /* 36 */        "PassAction",
+       /* 37 */        "consumeUntil\\( [\\ \\t]* \\{~[\\}]+\\} [\\ \\t]* \\)",
+       /* 38 */        "consumeUntil\\( ~[\\)]+ \\)",
+       /* 39 */        "[\\n\\r]",
+       /* 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 */        "#[_a-zA-Z][_a-zA-Z0-9]*",
+       /* 54 */        "#\\[",
+       /* 55 */        "#\\(",
+       /* 56 */        "#",
+       /* 57 */        "\\)",
+       /* 58 */        "\\[",
+       /* 59 */        "\\(",
+       /* 60 */        "\\\\]",
+       /* 61 */        "\\\\)",
+       /* 62 */        "\\>",
+       /* 63 */        "'",
+       /* 64 */        "\"",
+       /* 65 */        "\\$",
+       /* 66 */        "\\#",
+       /* 67 */        "\\[\\n\\r]",
+       /* 68 */        "\\~[\\]\\)>$#]",
+       /* 69 */        "/",
+       /* 70 */        "/\\*",
+       /* 71 */        "\\*/",
+       /* 72 */        "//",
+       /* 73 */        "~[\\n\\r\\)\\(\\$#\\>\\]\\[\"'/]+",
+       /* 74 */        "[\\t\\ ]+",
+       /* 75 */        "[\\n\\r]",
+       /* 76 */        "\\[",
+       /* 77 */        "\\<\\<",
+       /* 78 */        "\"",
+       /* 79 */        "/\\*",
+       /* 80 */        "\\*/",
+       /* 81 */        "//",
+       /* 82 */        "\\>\\>",
+       /* 83 */        "WildCard",
+       /* 84 */        "\\@",
+       /* 85 */        "LABEL",
+       /* 86 */        "grammar-element",
+       /* 87 */        "meta-symbol",
+       /* 88 */        "#header",
+       /* 89 */        "#parser",
+       /* 90 */        "#tokdefs",
+       /* 91 */        "\\}",
+       /* 92 */        "class",
+       /* 93 */        "NonTerminal",
+       /* 94 */        "TokenTerm",
+       /* 95 */        "\\{",
+       /* 96 */        "!",
+       /* 97 */        "\\<",
+       /* 98 */        "\\>",
+       /* 99 */        ":",
+       /* 100 */       ";",
+       /* 101 */       "#lexaction",
+       /* 102 */       "#lexclass",
+       /* 103 */       "#errclass",
+       /* 104 */       "#tokclass",
+       /* 105 */       "#token",
+       /* 106 */       "=",
+       /* 107 */       "[0-9]+",
+       /* 108 */       "\\|",
+       /* 109 */       "\\~",
+       /* 110 */       "..",
+       /* 111 */       "^",
+       /* 112 */       "#pragma",
+       /* 113 */       "approx",
+       /* 114 */       "LL(1)",
+       /* 115 */       "LL(2)",
+       /* 116 */       "\\(",
+       /* 117 */       "\\)",
+       /* 118 */       "\\*",
+       /* 119 */       "\\+",
+       /* 120 */       "?",
+       /* 121 */       "=>",
+       /* 122 */       "exception",
+       /* 123 */       "default",
+       /* 124 */       "catch",
+       /* 125 */       "#[A-Za-z0-9_]*",
+       /* 126 */       "[\\t\\ ]+",
+       /* 127 */       "[\\n\\r]",
+       /* 128 */       "//",
+       /* 129 */       "/\\*",
+       /* 130 */       "#ifdef",
+       /* 131 */       "#if",
+       /* 132 */       "#ifndef",
+       /* 133 */       "#else",
+       /* 134 */       "#endif",
+       /* 135 */       "#undef",
+       /* 136 */       "#import",
+       /* 137 */       "ID",
+       /* 138 */       "#define",
+       /* 139 */       "INT",
+       /* 140 */       "enum",
+       /* 141 */       "\\{",
+       /* 142 */       "=",
+       /* 143 */       ",",
+       /* 144 */       "\\}",
+       /* 145 */       ";"
+};
+SetWordType zzerr1[20] = {0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x60,
+       0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x0};
+SetWordType setwd1[146] = {0x0,0xb0,0x0,0x0,0x0,0x0,0x0,
+       0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
+       0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
+       0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
+       0x0,0x0,0x0,0xaa,0x0,0x40,0x0,0x0,
+       0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
+       0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
+       0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
+       0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
+       0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
+       0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
+       0x0,0x1,0x1,0x1,0xae,0xae,0xa4,0x0,
+       0x0,0x0,0x40,0x0,0x0,0x0,0xaa,0xa6,
+       0xae,0xae,0xa6,0x0,0x0,0x0,0x0,0x0,
+       0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
+       0x0,0x0,0x0,0x22,0x0,0x0,0x0,0x0,
+       0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
+       0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
+       0x0,0x0,0x0};
+SetWordType zzerr2[20] = {0x4,0x0,0x0,0x0, 0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x40,
+       0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x0};
+SetWordType zzerr3[20] = {0x4,0x0,0x0,0x0, 0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x60,
+       0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x0};
+SetWordType zzerr4[20] = {0x4,0x0,0x0,0x0, 0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x60,
+       0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x0};
+SetWordType zzerr5[20] = {0x4,0x0,0x0,0x0, 0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x40,
+       0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x0};
+SetWordType setwd2[146] = {0x0,0x6b,0x14,0x0,0x0,0x0,0x0,
+       0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
+       0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
+       0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
+       0x0,0x0,0x0,0x6b,0x0,0x0,0x0,0x0,
+       0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
+       0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
+       0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
+       0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
+       0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
+       0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
+       0x0,0x0,0x0,0x0,0xeb,0x6b,0x6f,0x14,
+       0x0,0x0,0x0,0x0,0x0,0x80,0x6b,0x6b,
+       0x6b,0x6b,0x6b,0x0,0x0,0x0,0x0,0x0,
+       0x0,0x0,0x0,0x0,0x0,0x0,0x80,0x0,
+       0x0,0x0,0x0,0x6b,0x0,0x0,0x0,0x0,
+       0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
+       0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
+       0x0,0x0,0x0};
+SetWordType zzerr6[20] = {0x4,0x0,0x0,0x0, 0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x40,
+       0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x0};
+SetWordType zzerr7[20] = {0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x0, 0x0,0x0,0xd0,0x0,
+       0x0,0x0,0x0,0x4, 0x0,0x0,0x0,0x0};
+SetWordType zzerr8[20] = {0x4,0x0,0x0,0x0, 0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x40,
+       0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x0};
+SetWordType zzerr9[20] = {0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x0, 0x0,0x0,0xd0,0x0,
+       0x0,0x0,0x0,0x4, 0x0,0x0,0x0,0x0};
+SetWordType zzerr10[20] = {0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x0, 0x0,0x0,0xc0,0x0,
+       0x0,0x0,0x0,0x4, 0x0,0x0,0x0,0x0};
+SetWordType zzerr11[20] = {0x4,0x0,0x0,0x0, 0x0,0x0,0x0,0x0, 0x0,0x0,0x8,0x60,
+       0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x0};
+SetWordType setwd3[146] = {0x0,0x0,0x7d,0x0,0x0,0x0,0x0,
+       0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
+       0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
+       0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
+       0x0,0x0,0x0,0x71,0x71,0xf1,0x0,0x0,
+       0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
+       0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
+       0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
+       0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
+       0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
+       0x0,0x0,0x0,0x0,0x7d,0x30,0x79,0x0,
+       0x0,0x0,0x0,0x0,0x72,0x0,0x7d,0x7d,
+       0x71,0x0,0x80,0x71,0x0,0x72,0x0,0x0,
+       0x0,0x0,0x0,0x0,0x0,0x72,0x71,0x0,
+       0x0,0x71,0x0,0x0,0x0,0x71,0x72,0x71,
+       0x71,0x0,0x0,0x72,0x0,0x0,0x0,0x0,
+       0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
+       0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
+       0x0,0x0,0x0};
+SetWordType zzerr12[20] = {0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x0,
+       0x0,0x0,0xe,0x0, 0x0,0x0,0x0,0x0};
+SetWordType zzerr13[20] = {0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x0, 0x0,0x0,0x40,0x8,
+       0x10,0x30,0x20,0x6, 0x0,0x0,0x0,0x0};
+SetWordType zzerr14[20] = {0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x0, 0x0,0x0,0x40,0x8,
+       0x10,0x30,0x20,0x5, 0x0,0x0,0x0,0x0};
+SetWordType zzerr15[20] = {0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x80,
+       0x0,0x0,0x10,0x0, 0x0,0x0,0x0,0x0};
+SetWordType zzerr16[20] = {0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x0, 0x0,0x0,0x40,0x0,
+       0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x0};
+SetWordType zzerr17[20] = {0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x60,
+       0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x0};
+SetWordType zzerr18[20] = {0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x0,
+       0x0,0x0,0x0,0x0, 0x0,0x14,0x0,0x0};
+SetWordType zzerr19[20] = {0x2,0x0,0x0,0x0, 0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x0,
+       0x0,0x0,0x0,0x0, 0x10,0x14,0x0,0x0};
+SetWordType setwd4[146] = {0x0,0x60,0xe,0x0,0x0,0x0,0x0,
+       0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
+       0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
+       0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
+       0x0,0x0,0x0,0x7e,0xe,0xe,0x0,0x0,
+       0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
+       0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
+       0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
+       0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
+       0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
+       0x0,0x0,0x0,0x0,0xe,0x0,0xe,0x0,
+       0x0,0x0,0x0,0x0,0x7e,0x70,0x7e,0xe,
+       0xf,0x0,0x0,0xe,0x0,0x6e,0x70,0x70,
+       0x70,0x70,0x70,0x0,0x0,0x6e,0xe,0x0,
+       0x0,0xf,0x0,0x0,0x0,0xf,0x6e,0xe,
+       0xe,0x0,0x0,0x7e,0x40,0x40,0x0,0x0,
+       0x0,0x0,0x0,0x0,0x0,0x80,0x0,0x0,
+       0x0,0x0,0x0,0x80,0x0,0x80,0x0,0x0,
+       0x0,0x0,0x0};
+SetWordType zzerr20[20] = {0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x0,
+       0x0,0x0,0x0,0x0, 0x0,0xc0,0x1,0x0};
+SetWordType zzerr21[20] = {0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x0,
+       0x0,0x0,0x0,0x0, 0x0,0xc0,0x1,0x0};
+SetWordType setwd5[146] = {0x0,0x13,0x0,0x0,0x0,0x0,0x0,
+       0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
+       0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
+       0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
+       0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
+       0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
+       0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
+       0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
+       0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
+       0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
+       0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
+       0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
+       0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
+       0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
+       0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
+       0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
+       0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
+       0x0,0x0,0x0,0x0,0x0,0x10,0x0,0x0,
+       0xc,0xc,0x0};