err.c
上传用户:itx_2006
上传日期:2007-01-06
资源大小:493k
文件大小:3k
源码类别:

编译器/解释器

开发平台:

Others

  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, Russell Quong, Will Cohen, and Hank Dietz: 1989-1998
  7.  * Parr Research Corporation
  8.  * with Purdue University Electrical Engineering
  9.  * With AHPCRC, University of Minnesota
  10.  * ANTLR Version 1.33MR14
  11.  */
  12. #define ANTLR_VERSION 13314
  13. #include "pcctscfg.h"
  14. #include PCCTS_STDIO_H
  15. #include <ctype.h>
  16. #include "dlg.h"
  17. #ifdef MEMCHK
  18. #include "trax.h"
  19. #endif
  20. #define zzSET_SIZE 8
  21. #include "antlr.h"
  22. #include "tokens.h"
  23. #include "dlgdef.h"
  24. #include "err.h"
  25. ANTLRChar *zztokens[46]={
  26. /* 00 */ "Invalid",
  27. /* 01 */ "@",
  28. /* 02 */ "[\r\t\ ]+",
  29. /* 03 */ "\n",
  30. /* 04 */ "L_EOF",
  31. /* 05 */ "PER_PER",
  32. /* 06 */ "NAME_PER_PER",
  33. /* 07 */ "LEXMEMBER",
  34. /* 08 */ "LEXACTION",
  35. /* 09 */ "PARSERCLASS",
  36. /* 10 */ "LEXPREFIX",
  37. /* 11 */ "ACTION",
  38. /* 12 */ "GREAT_GREAT",
  39. /* 13 */ "L_BRACE",
  40. /* 14 */ "R_BRACE",
  41. /* 15 */ "L_PAR",
  42. /* 16 */ "R_PAR",
  43. /* 17 */ "L_BRACK",
  44. /* 18 */ "R_BRACK",
  45. /* 19 */ "ZERO_MORE",
  46. /* 20 */ "ONE_MORE",
  47. /* 21 */ "OR",
  48. /* 22 */ "RANGE",
  49. /* 23 */ "NOT",
  50. /* 24 */ "OCTAL_VALUE",
  51. /* 25 */ "HEX_VALUE",
  52. /* 26 */ "DEC_VALUE",
  53. /* 27 */ "TAB",
  54. /* 28 */ "NL",
  55. /* 29 */ "CR",
  56. /* 30 */ "BS",
  57. /* 31 */ "CONTINUATION",
  58. /* 32 */ "LIT",
  59. /* 33 */ "REGCHAR",
  60. /* 34 */ "\>",
  61. /* 35 */ "\\>",
  62. /* 36 */ "\",
  63. /* 37 */ "\n",
  64. /* 38 */ "/\*",
  65. /* 39 */ "//",
  66. /* 40 */ "~[]",
  67. /* 41 */ "\*/",
  68. /* 42 */ "[\n\r]",
  69. /* 43 */ "~[]",
  70. /* 44 */ "[\n\r]",
  71. /* 45 */ "~[]"
  72. };
  73. SetWordType zzerr1[8] = {0x60,0x0,0x0,0x0, 0x0,0x0,0x0,0x0};
  74. SetWordType zzerr2[8] = {0x70,0xa8,0x9a,0x7f, 0x3,0x0,0x0,0x0};
  75. SetWordType setwd1[46] = {0x0,0x6,0x0,0x0,0x30,0xc8,0xc8,
  76. 0x1,0x1,0x1,0x1,0x35,0x0,0x30,0x0,
  77. 0x30,0x0,0x30,0x0,0x30,0x30,0x0,0x0,
  78. 0x30,0x30,0x30,0x30,0x30,0x30,0x30,0x30,
  79. 0x0,0x30,0x30,0x0,0x0,0x0,0x0,0x0,
  80. 0x0,0x0,0x0,0x0,0x0,0x0,0x0};
  81. SetWordType zzerr3[8] = {0x10,0xa8,0x9a,0x7f, 0x3,0x0,0x0,0x0};
  82. SetWordType zzerr4[8] = {0x10,0xa0,0x9a,0x7f, 0x3,0x0,0x0,0x0};
  83. SetWordType zzerr5[8] = {0x10,0xa0,0x82,0x7f, 0x3,0x0,0x0,0x0};
  84. SetWordType setwd2[46] = {0x0,0x0,0x0,0x0,0xeb,0x2,0x2,
  85. 0x0,0x0,0x0,0x0,0x56,0x0,0x6b,0x54,
  86. 0x6b,0x54,0x6b,0x0,0x4b,0x4b,0x50,0x0,
  87. 0x6b,0xeb,0xeb,0xeb,0xeb,0xeb,0xeb,0xeb,
  88. 0x0,0xeb,0xeb,0x0,0x0,0x0,0x0,0x0,
  89. 0x0,0x0,0x0,0x0,0x0,0x0,0x0};
  90. SetWordType zzerr6[8] = {0x10,0x0,0x0,0x7f, 0x3,0x0,0x0,0x0};
  91. SetWordType setwd3[46] = {0x0,0x0,0x0,0x0,0x3b,0x0,0x0,
  92. 0x0,0x0,0x0,0x0,0x31,0x0,0x31,0x31,
  93. 0x31,0x31,0x31,0x2c,0x31,0x31,0x31,0x20,
  94. 0x31,0x3b,0x3b,0x3b,0x3b,0x3b,0x3b,0x3b,
  95. 0x0,0x3b,0x3b,0x0,0x0,0x0,0x0,0x0,
  96. 0x0,0x0,0x0,0x0,0x0,0x0,0x0};