1: #ifndef lint 2: static char sccsid[] = "@(#)1.tables.c 4.1 (Berkeley) 2/11/83"; 3: #endif not lint 4: 5: #include <stdio.h> 6: 7: int match[146] 8: = { 9: 0, 1, 2, 3, 4, 5, 19, 21, 10: 23, 25, 29, 32, 36, 38, 42, 44, 11: 46, 50, 52, 56, 59, 61, 65, 74, 12: 77, 81, 83, 85, 87, 89, 91, 93, 13: 95, 97, 99, 102, 105, 108, 114, 116, 14: 118, 120, 122, 124, 126, 129, 131, 134, 15: 136, 139, 142, 144, 147, 149, 151, 153, 16: 155, 157, 159, 161, 163, 165, 167, 169, 17: 171, 174, 176, 178, 180, 182, 184, 186, 18: 188, 190, 192, 194, 196, 198, 200, 202, 19: 204, 206, 208, 210, 212, 214, 216, 218, 20: 221, 223, 225, 227, 229, 231, 233, 235, 21: 237, 239, 241, 243, 245, 247, 249, 251, 22: 254, 256, 258, 260, 262, 264, 266, 268, 23: 270, 272, 274, 276, 278, 280, 283, 287, 24: 292, 298, 303, 307, 311, 316, 320, 324, 25: 327, 329, 331, 333, 335, 337, 339, 341, 26: 343, 345, 347, 349, 351, 353, 355, 356, 27: 357, 359 28: }; 29: 30: int symclass[358] 31: = { 32: 1, 1, 1, 1, 1, 0, 0, 0, 33: 0, 0, 0, 0, 0, 0, 0, 0, 34: 0, 0, 1, 0, 1, 0, 1, 0, 35: 1, 2, 3, 0, 1, 2, 0, 1, 36: 4, 0, 0, 1, 0, 1, 2, 0, 37: 0, 1, 0, 1, 2, 1, 2, 0, 38: 0, 1, 0, 1, 4, 5, 0, 1, 39: 0, 0, 1, 0, 1, 0, 0, 0, 40: 1, 0, 0, 0, 0, 0, 0, 0, 41: 2, 1, 2, 0, 1, 2, 0, 0, 42: 1, 0, 1, 0, 1, 0, 1, 0, 43: 1, 0, 1, 0, 1, 0, 1, 0, 44: 1, 0, 1, 2, 0, 1, 2, 3, 45: 1, 4, 0, 1, 4, 0, 0, 0, 46: 5, 1, 0, 1, 0, 1, 0, 1, 47: 0, 1, 0, 1, 2, 1, 2, 0, 48: 1, 0, 1, 4, 0, 1, 0, 1, 49: 0, 0, 1, 0, 0, 1, 0, 1, 50: 0, 0, 1, 0, 1, 0, 1, 0, 51: 1, 0, 1, 0, 1, 0, 1, 0, 52: 1, 0, 1, 0, 1, 0, 1, 0, 53: 1, 0, 1, 0, 0, 1, 0, 1, 54: 0, 1, 0, 1, 0, 1, 0, 1, 55: 0, 1, 0, 1, 0, 1, 0, 1, 56: 0, 1, 0, 1, 0, 1, 0, 1, 57: 0, 1, 0, 1, 0, 1, 0, 1, 58: 0, 1, 0, 1, 0, 1, 0, 1, 59: 0, 1, 0, 0, 1, 0, 1, 0, 60: 1, 0, 1, 0, 1, 0, 1, 0, 61: 1, 0, 1, 0, 1, 0, 1, 0, 62: 1, 0, 1, 0, 1, 0, 1, 0, 63: 1, 0, 1, 0, 0, 1, 0, 1, 64: 0, 1, 0, 1, 0, 1, 0, 1, 65: 0, 1, 0, 1, 0, 1, 0, 1, 66: 0, 1, 0, 1, 0, 1, 0, 1, 67: 0, 2, 1, 2, 0, 0, 1, 0, 68: 0, 0, 0, 1, 2, 0, 0, 0, 69: 0, 1, 0, 0, 0, 0, 1, 0, 70: 0, 0, 1, 0, 0, 0, 1, 2, 71: 0, 0, 0, 1, 0, 0, 0, 1, 72: 0, 0, 0, 1, 0, 0, 1, 0, 73: 1, 0, 1, 0, 1, 0, 1, 0, 74: 1, 0, 1, 0, 1, 0, 1, 0, 75: 1, 0, 1, 0, 1, 0, 1, 0, 76: 1, 0, 1, 0, 0, 0 77: }; 78: 79: char symbol[358] 80: = { 81: '_', '_', '_', '_', '_', 'i', 'd', 'g', 82: 'a', 'r', 'w', 'c', 'l', 's', 'e', 'p', 83: 'f', 'b', '_', 'o', '_', 't', '_', 'o', 84: '_', '_', '_', '(', '_', '_', '\0', '_', 85: '_', ',', '\0', '_', '(', '_', '_', ',', 86: ')', '_', '\0', '_', '_', '_', '_', ',', 87: ')', '_', ',', '_', '_', '_', '\0', '_', 88: 'f', 'n', '_', '(', '_', '(', ')', '\0', 89: '_', '=', 'g', 'a', 'r', 'p', 'w', 's', 90: '_', '_', '_', ',', '_', '_', ',', '\0', 91: '_', 'o', '_', 'n', '_', 't', '_', 'i', 92: '_', 'n', '_', 'u', '_', 'e', '_', '\0', 93: '_', 'o', '_', '_', 'u', '_', '_', '_', 94: '_', '_', '=', '_', '_', '(', ')', ',', 95: '_', '_', 's', '_', 's', '_', 'i', '_', 96: 'g', '_', 'n', '_', '_', '_', '_', 't', 97: '_', 'o', '_', '_', '\0', '_', 'e', '_', 98: 'a', 't', '_', 'l', 'd', '_', 'f', '_', 99: 'u', 'o', '_', 'n', '_', 'c', '_', 't', 100: '_', 'i', '_', 'o', '_', 'n', '_', 't', 101: '_', 'e', '_', 'g', '_', 'e', '_', 'r', 102: '_', 'o', '_', 'm', 'n', '_', 'p', '_', 103: 'l', '_', 'e', '_', 'x', '_', 'b', '_', 104: 'l', '_', 'e', '_', 'p', '_', 'r', '_', 105: 'e', '_', 'c', '_', 'i', '_', 's', '_', 106: 'i', '_', 'o', '_', 'n', '_', 'o', '_', 107: 'g', '_', 'i', '_', 'c', '_', 'a', '_', 108: 'l', '_', 't', 'u', '_', 'o', '_', 'p', 109: '_', 'b', '_', 'r', '_', 'o', '_', 't', 110: '_', 'i', '_', 'n', '_', 'e', '_', 'e', 111: '_', 't', '_', 'u', '_', 'r', '_', 'n', 112: '_', 'n', '_', 'd', 't', '_', '\0', '_', 113: 'r', '_', 'y', '_', 'r', '_', 'm', '_', 114: 'a', '_', 't', '_', '(', '_', 'r', '_', 115: 'i', '_', 't', '_', 'e', '_', '(', '_', 116: '(', '_', '_', '_', ',', '\0', '_', '(', 117: ')', ',', '\0', '_', '_', 'e', ',', '\0', 118: ')', '_', 'n', 'r', ')', '\0', '_', 'd', 119: ')', '\0', '_', '=', ')', '\0', '_', '_', 120: ',', ')', '\0', '_', 'r', ')', '\0', '_', 121: '=', ')', '\0', '_', 'r', 'u', '_', 'i', 122: '_', 'n', '_', 't', '_', 'n', '_', 'c', 123: '_', 'h', '_', 'l', '_', 'o', '_', 'c', 124: '_', 'k', '_', 'd', '_', 'a', '_', 't', 125: '_', 'a', '_', '_', '_', '_' 126: }; 127: 128: int action[358] 129: = { 130: 1, 1, 1, 1, 1, 3, 3, 3, 131: 3, 3, 3, 3, 3, 3, 3, 3, 132: 3, 3, 111, 0, 111, 0, 111, 76, 133: 111, 1, 0, 0, 111, 1, 122, 111, 134: 0, 72, 123, 111, 0, 111, 1, 3, 135: 3, 111, 124, 111, 1, 111, 1, 3, 136: 3, 111, 76, 111, 0, 0, 125, 111, 137: 0, 0, 111, 45, 111, 30, 31, 111, 138: 0, 133, 0, 0, 0, 0, 0, 0, 139: 1, 111, 1, 3, 111, 1, 3, 141, 140: 111, 0, 111, 0, 111, 0, 111, 0, 141: 111, 0, 111, 0, 111, 0, 111, 180, 142: 111, 0, 111, 1, 0, 111, 1, 61, 143: 111, 0, 0, 111, 0, 62, 63, 64, 144: 0, 111, 0, 111, 0, 111, 0, 111, 145: 0, 111, 0, 111, 1, 111, 1, 3, 146: 111, 76, 111, 0, 150, 111, 0, 111, 147: 0, 0, 111, 0, 76, 111, 0, 111, 148: 0, 0, 111, 0, 111, 0, 111, 0, 149: 111, 0, 111, 0, 111, 200, 111, 0, 150: 111, 0, 111, 0, 111, 0, 111, 0, 151: 111, 0, 111, 0, 0, 111, 0, 111, 152: 0, 111, 0, 111, 0, 111, 0, 111, 153: 0, 111, 0, 111, 0, 111, 0, 111, 154: 0, 111, 0, 111, 0, 111, 0, 111, 155: 0, 111, 0, 111, 0, 111, 0, 111, 156: 0, 111, 0, 111, 0, 111, 0, 111, 157: 0, 111, 0, 0, 111, 0, 111, 350, 158: 111, 0, 111, 0, 111, 0, 111, 0, 159: 111, 0, 111, 0, 111, 200, 111, 0, 160: 111, 0, 111, 0, 111, 0, 111, 300, 161: 111, 0, 111, 0, 0, 111, 400, 111, 162: 0, 111, 700, 111, 0, 111, 0, 111, 163: 0, 111, 0, 111, 600, 111, 0, 111, 164: 0, 111, 0, 111, 0, 111, 0, 111, 165: 0, 1, 111, 1, 520, 520, 111, 62, 166: 77, 70, 111, 0, 1, 0, 75, 111, 167: 520, 0, 0, 0, 510, 111, 0, 0, 168: 510, 111, 0, 73, 510, 111, 0, 1, 169: 3, 510, 111, 0, 0, 510, 111, 0, 170: 74, 510, 111, 0, 0, 0, 111, 0, 171: 111, 0, 111, 76, 111, 0, 111, 0, 172: 111, 76, 111, 0, 111, 0, 111, 0, 173: 111, 0, 111, 0, 111, 0, 111, 0, 174: 111, 210, 111, 0, 0, 0 175: }; 176: 177: int newstate[358] 178: = { 179: 1, 2, 3, 4, 5, 19, 33, 6, 180: 38, 47, 112, 63, 81, 87, 102, 127, 181: 51, 134, 142, 7, 142, 8, -5, 9, 182: -5, 10, 11, 15, -5, 10, 142, -5, 183: 11, 12, 142, -5, 13, -5, 13, 13, 184: 14, -5, 142, -5, 16, 142, 16, 15, 185: 17, 142, 18, 142, 18, 18, 142, -5, 186: 20, 58, 142, 21, -5, 21, -5, -5, 187: 21, 142, 6, 38, 47, 127, 112, 87, 188: 23, 142, 23, 24, 142, 24, 24, 142, 189: -5, 26, -5, 27, -5, 28, -5, 29, 190: -5, 30, -5, 31, -5, 32, -5, 142, 191: 142, 34, -5, 35, 69, -5, 35, 36, 192: -5, 36, 37, -5, 37, 37, 37, 37, 193: 37, -5, 39, -5, 40, -5, 41, -5, 194: 42, -5, 43, -5, 44, 142, 44, 45, 195: 142, 46, -5, 46, 142, -5, 48, 142, 196: 49, 99, 142, 50, 117, 142, 51, 142, 197: 52, 107, 142, 53, 142, 54, 142, 55, 198: 142, 56, 142, 57, 142, 142, 142, 59, 199: 142, 60, 142, 61, 142, 62, 142, 50, 200: 142, 64, 142, 65, 27, 142, 66, 142, 201: 67, 142, 68, 142, 50, 142, 70, 142, 202: 71, 142, 72, 142, 73, 142, 74, 142, 203: 75, 142, 76, 142, 77, 142, 78, 142, 204: 79, 142, 80, 142, 50, 142, 82, 142, 205: 83, 142, 84, 142, 85, 142, 86, 142, 206: 50, 142, 88, 90, 142, 89, 142, 142, 207: 142, 91, 142, 92, 142, 93, 142, 94, 208: 142, 95, 142, 96, 142, 142, 142, 98, 209: 142, 99, 142, 100, 142, 101, 142, 142, 210: 142, 103, 142, 104, 105, 142, 142, 142, 211: 106, 142, 142, 142, 108, -5, 109, -5, 212: 110, -5, 111, -5, -5, -5, 113, -5, 213: 114, -5, 115, -5, 116, -5, 119, -5, 214: 119, 118, -5, 118, -5, -5, -5, 119, 215: 119, -5, -5, 119, 120, 121, 120, -5, 216: -5, 119, 122, 125, -5, -5, 119, 123, 217: -5, -5, 119, 124, -5, -5, 119, 124, 218: 120, -5, -5, 119, 126, -5, -5, 119, 219: 124, -5, -5, 119, 128, 131, 142, 129, 220: 142, 130, 142, 117, 142, 132, 142, 133, 221: 142, 117, 142, 135, -5, 136, -5, 137, 222: -5, 138, -5, 139, -5, 140, -5, 141, 223: -5, -5, -5, -5, -5, -5 224: };