home *** CD-ROM | disk | FTP | other *** search
/ Big Green CD 8 / BGCD_8_Dev.iso / NEXTSTEP / UNIX / Programming / GDBbundle-1.0-MIS / src / TextEdit / GdbBundle.bproj / err.m < prev    next >
Encoding:
Text File  |  1997-05-10  |  4.4 KB  |  147 lines

  1. /*
  2.  * A n t l r  S e t s / E r r o r  F i l e  H e a d e r
  3.  *
  4.  * Generated from: GdbValue.g
  5.  *
  6.  * Terence Parr, Russell Quong, Will Cohen, and Hank Dietz: 1989-1995
  7.  * Parr Research Corporation
  8.  * with Purdue University Electrical Engineering
  9.  * With AHPCRC, University of Minnesota
  10.  * ANTLR Version 1.33
  11.  */
  12.  
  13. #include <stdio.h>
  14. #define ANTLR_VERSION    133
  15.  
  16. #import <Foundation/NSString.h>
  17.  
  18. #ifndef __Attrib_def__
  19. #define __Attrib_def__
  20. typedef id Attrib;
  21. #endif
  22.  
  23. #define USER_ZZSYN
  24. void zzcr_attr(Attrib* attr, int token, char* text);
  25. #define LL_K 2
  26. #define zzSET_SIZE 8
  27. #include "antlr.h"
  28. #include "tokens.h"
  29. #include "dlgdef.h"
  30. #include "err.h"
  31.  
  32. ANTLRChar *zztokens[53]={
  33.     /* 00 */    "Invalid",
  34.     /* 01 */    "Eof",
  35.     /* 02 */    "STRING",
  36.     /* 03 */    "\\\"",
  37.     /* 04 */    "[\\1-\\31]",
  38.     /* 05 */    "[\\128-\\254]",
  39.     /* 06 */    "~[\"]+",
  40.     /* 07 */    "FUNCTION_NAME",
  41.     /* 08 */    "~[\\>]+",
  42.     /* 09 */    "[\\t\\ ]+",
  43.     /* 10 */    "\\n",
  44.     /* 11 */    "\"",
  45.     /* 12 */    "\\<",
  46.     /* 13 */    "LCURLYBRACE",
  47.     /* 14 */    "RCURLYBRACE",
  48.     /* 15 */    "LSQUAREBRACKET",
  49.     /* 16 */    "RSQUAREBRACKET",
  50.     /* 17 */    "LPARENTHESIS",
  51.     /* 18 */    "RPARENTHESIS",
  52.     /* 19 */    "DOUBLECOLON",
  53.     /* 20 */    "SEMICOLON",
  54.     /* 21 */    "EQUAL",
  55.     /* 22 */    "STAR",
  56.     /* 23 */    "AMPERSAND",
  57.     /* 24 */    "COMMA",
  58.     /* 25 */    "LESSTHAN",
  59.     /* 26 */    "GREATERTHAN",
  60.     /* 27 */    "DOTS",
  61.     /* 28 */    "CONST",
  62.     /* 29 */    "VOLATILE",
  63.     /* 30 */    "UNSIGNED",
  64.     /* 31 */    "CHAR",
  65.     /* 32 */    "SHORT",
  66.     /* 33 */    "INT",
  67.     /* 34 */    "LONG",
  68.     /* 35 */    "FLOAT",
  69.     /* 36 */    "DOUBLE",
  70.     /* 37 */    "STRUCT",
  71.     /* 38 */    "UNION",
  72.     /* 39 */    "ENUM",
  73.     /* 40 */    "CLASS",
  74.     /* 41 */    "VOID",
  75.     /* 42 */    "NO_ARGUMENTS",
  76.     /* 43 */    "NO_LOCALS",
  77.     /* 44 */    "NO_SYMBOL_TABLE",
  78.     /* 45 */    "IDENTIFIER",
  79.     /* 46 */    "CHARACTER",
  80.     /* 47 */    "OCTALINT",
  81.     /* 48 */    "DECIMALINT",
  82.     /* 49 */    "HEXADECIMALINT",
  83.     /* 50 */    "FLOATONE",
  84.     /* 51 */    "FLOATTWO",
  85.     /* 52 */    "FLOATTHREE"
  86. };
  87. SetWordType zzerr1[8] = {0x0,0x0,0x0,0x0, 0x0,0x21,0x0,0x0};
  88. SetWordType zzerr2[8] = {0x0,0x0,0xc0,0x0, 0x0,0x0,0x0,0x0};
  89. SetWordType setwd1[53] = {0x0,0xe,0x0,0x0,0x0,0x0,0x0,
  90.     0x0,0x0,0x0,0x0,0x0,0x0,0x0,0xc,
  91.     0x20,0x0,0x20,0x50,0x40,0x0,0x0,0xa0,
  92.     0xa0,0x5c,0x0,0x0,0x0,0x20,0x20,0x0,
  93.     0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
  94.     0x0,0x5d,0x0,0x0,0x0,0x0,0x5d,0x0,
  95.     0x0,0x0,0x0,0x0,0x0,0x0};
  96. SetWordType zzerr3[8] = {0x0,0x80,0xc2,0x0, 0x0,0x0,0x0,0x0};
  97. SetWordType zzerr4[8] = {0x0,0x80,0x2,0x0, 0x0,0x0,0x0,0x0};
  98. SetWordType zzerr5[8] = {0x0,0x80,0xc7,0xf0, 0xff,0x83,0x3,0x0};
  99. SetWordType zzerr6[8] = {0x0,0x80,0xe,0x1, 0x0,0x21,0x0,0x0};
  100. SetWordType setwd2[53] = {0x0,0x0,0x0,0x0,0x0,0x0,0x0,
  101.     0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
  102.     0x4b,0x0,0x4b,0xb4,0xa4,0x0,0x0,0x9,
  103.     0x9,0xa4,0x0,0x0,0x0,0x10,0x10,0x10,
  104.     0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,
  105.     0x10,0xb4,0x10,0x0,0x0,0x0,0xa4,0x0,
  106.     0x0,0x0,0x0,0x0,0x0,0x0};
  107. SetWordType zzerr7[8] = {0x0,0x0,0x0,0x80, 0x7,0x0,0x0,0x0};
  108. SetWordType zzerr8[8] = {0x0,0x20,0x0,0x0, 0x0,0x21,0x0,0x0};
  109. SetWordType setwd3[53] = {0x0,0x0,0x0,0x0,0x0,0x0,0x0,
  110.     0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
  111.     0x14,0x0,0x14,0x15,0x15,0x4,0x0,0x0,
  112.     0x0,0x15,0x0,0x0,0x0,0x88,0x88,0xa8,
  113.     0xa8,0xa8,0xa8,0xa8,0x88,0x88,0x88,0x88,
  114.     0x88,0xdd,0x88,0x0,0x0,0x0,0x55,0x0,
  115.     0x2,0x2,0x2,0x0,0x0,0x0};
  116. SetWordType zzerr9[8] = {0x0,0x20,0x0,0x0, 0x0,0x21,0x0,0x0};
  117. SetWordType zzerr10[8] = {0x0,0x20,0x0,0x0, 0x0,0x21,0x0,0x0};
  118. SetWordType zzerr11[8] = {0x0,0x0,0x0,0x30, 0x0,0x0,0x0,0x0};
  119. SetWordType zzerr12[8] = {0x0,0x0,0x0,0xf0, 0xff,0x3,0x0,0x0};
  120. SetWordType zzerr13[8] = {0x4,0x20,0x0,0x0, 0x0,0xa1,0x1f,0x0};
  121. SetWordType setwd4[53] = {0x0,0x0,0x60,0x0,0x0,0x0,0x0,
  122.     0x40,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
  123.     0x10,0x0,0x10,0x10,0x10,0x0,0x0,0x10,
  124.     0x10,0x10,0x0,0x0,0x0,0x1a,0x1a,0x2,
  125.     0x2,0x2,0x2,0x2,0x2,0x2,0x2,0x2,
  126.     0x2,0x97,0x2,0x0,0x0,0x0,0x95,0x40,
  127.     0x20,0x20,0x20,0x20,0x20,0x20};
  128. SetWordType zzerr14[8] = {0x84,0x0,0x0,0x0, 0x0,0x40,0x0,0x0};
  129. SetWordType zzerr15[8] = {0x4,0x0,0x0,0x0, 0x0,0x80,0x1f,0x0};
  130. SetWordType zzerr16[8] = {0x0,0x0,0x0,0x0, 0x0,0x80,0x3,0x0};
  131. SetWordType zzerr17[8] = {0x0,0x0,0x2,0x0, 0x0,0x21,0x0,0x0};
  132. SetWordType setwd5[53] = {0x0,0x5b,0x18,0x0,0x0,0x0,0x0,
  133.     0x18,0x0,0x0,0x0,0x0,0x0,0x0,0x5b,
  134.     0x0,0x10,0x20,0x0,0x0,0x0,0x0,0x0,
  135.     0x0,0x5b,0x0,0x0,0x0,0x0,0x0,0x0,
  136.     0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
  137.     0x0,0xfb,0x0,0x0,0x0,0x0,0xfb,0x18,
  138.     0x4,0x4,0x4,0x0,0x0,0x0};
  139. SetWordType zzerr18[8] = {0x0,0x0,0x0,0x0, 0x0,0x21,0x0,0x0};
  140. SetWordType setwd6[53] = {0x0,0x2,0x0,0x0,0x0,0x0,0x0,
  141.     0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x3,
  142.     0x2,0x0,0x2,0x2,0x2,0x2,0x0,0x2,
  143.     0x2,0x3,0x0,0x0,0x0,0x2,0x2,0x0,
  144.     0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
  145.     0x0,0x2,0x0,0x0,0x0,0x0,0x2,0x0,
  146.     0x0,0x0,0x0,0x0,0x0,0x0};
  147.