home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / pccts.zip / pccts / dlg / err.c < prev    next >
C/C++ Source or Header  |  1994-03-31  |  2KB  |  84 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: dlg_p.g
  5.  *
  6.  * Terence Parr, Will Cohen, and Hank Dietz: 1989-1994
  7.  * Purdue University Electrical Engineering
  8.  * With AHPCRC, University of Minnesota
  9.  * ANTLR Version 1.20b6
  10.  */
  11.  
  12. #include <stdio.h>
  13. #define ANTLR_VERSION    120b6
  14.  
  15. #include <ctype.h>
  16. #include "dlg.h"
  17. #ifdef MEMCHK
  18. #include "trax.h"
  19. #endif
  20. #define zzEOF_TOKEN 1
  21. #define zzSET_SIZE 8
  22. #include "antlr.h"
  23. #include "tokens.h"
  24. #include "dlgdef.h"
  25. #include "err.h"
  26.  
  27. ANTLRChar *zztokens[34]={
  28.     /* 00 */    "Invalid",
  29.     /* 01 */    "@",
  30.     /* 02 */    "[\\r\\t\\ ]+",
  31.     /* 03 */    "[\\n]",
  32.     /* 04 */    "L_EOF",
  33.     /* 05 */    "PER_PER",
  34.     /* 06 */    "NAME_PER_PER",
  35.     /* 07 */    "ACTION",
  36.     /* 08 */    "GREAT_GREAT",
  37.     /* 09 */    "L_BRACE",
  38.     /* 10 */    "R_BRACE",
  39.     /* 11 */    "L_PAR",
  40.     /* 12 */    "R_PAR",
  41.     /* 13 */    "L_BRACK",
  42.     /* 14 */    "R_BRACK",
  43.     /* 15 */    "ZERO_MORE",
  44.     /* 16 */    "ONE_MORE",
  45.     /* 17 */    "OR",
  46.     /* 18 */    "RANGE",
  47.     /* 19 */    "NOT",
  48.     /* 20 */    "OCTAL_VALUE",
  49.     /* 21 */    "HEX_VALUE",
  50.     /* 22 */    "DEC_VALUE",
  51.     /* 23 */    "TAB",
  52.     /* 24 */    "NL",
  53.     /* 25 */    "CR",
  54.     /* 26 */    "BS",
  55.     /* 27 */    "LIT",
  56.     /* 28 */    "REGCHAR",
  57.     /* 29 */    "\\>",
  58.     /* 30 */    "\\\\>",
  59.     /* 31 */    "\\",
  60.     /* 32 */    "\\n",
  61.     /* 33 */    "~[\\>\\@\\n]+"
  62. };
  63. SetWordType zzerr1[8] = {0x60,0x0,0x0,0x0, 0x0,0x0,0x0,0x0};
  64. SetWordType zzerr2[8] = {0xf0,0xaa,0xf9,0x1f, 0x0,0x0,0x0,0x0};
  65. SetWordType zzerr3[8] = {0x90,0xaa,0xf9,0x1f, 0x0,0x0,0x0,0x0};
  66. SetWordType setwd1[34] = {0x0,0x3,0x0,0x0,0x98,0x64,0x64,
  67.     0x1a,0x0,0x98,0x0,0x98,0x0,0x98,0x0,
  68.     0x98,0x98,0x0,0x0,0x98,0x98,0x98,0x98,
  69.     0x98,0x98,0x98,0x98,0x98,0x98,0x0,0x0,
  70.     0x0,0x0,0x0};
  71. SetWordType zzerr4[8] = {0x10,0xaa,0xf9,0x1f, 0x0,0x0,0x0,0x0};
  72. SetWordType zzerr5[8] = {0x10,0x2a,0xf8,0x1f, 0x0,0x0,0x0,0x0};
  73. SetWordType setwd2[34] = {0x0,0x0,0x0,0x0,0xf5,0x1,0x1,
  74.     0xab,0x0,0xb5,0xaa,0xb5,0xaa,0xb5,0x0,
  75.     0xa5,0xa5,0xa8,0x0,0xb5,0xf5,0xf5,0xf5,
  76.     0xf5,0xf5,0xf5,0xf5,0xf5,0xf5,0x0,0x0,
  77.     0x0,0x0,0x0};
  78. SetWordType zzerr6[8] = {0x10,0x0,0xf0,0x1f, 0x0,0x0,0x0,0x0};
  79. SetWordType setwd3[34] = {0x0,0x0,0x0,0x0,0x1d,0x0,0x0,
  80.     0x18,0x0,0x18,0x18,0x18,0x18,0x18,0x16,
  81.     0x18,0x18,0x18,0x10,0x18,0x1d,0x1d,0x1d,
  82.     0x1d,0x1d,0x1d,0x1d,0x1d,0x1d,0x0,0x0,
  83.     0x0,0x0,0x0};
  84.