home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / jikepg12.zip / jikespg / src / lpgdcl.h < prev    next >
Encoding:
C/C++ Source or Header  |  1999-11-04  |  4.1 KB  |  100 lines

  1. /* $Id: lpgdcl.h,v 1.2 1999/11/04 14:02:22 shields Exp $ */
  2. /*
  3.  This software is subject to the terms of the IBM Jikes Compiler
  4.  License Agreement available at the following URL:
  5.  http://www.ibm.com/research/jikes.
  6.  Copyright (C) 1983, 1999, International Business Machines Corporation
  7.  and others.  All Rights Reserved.
  8.  You must accept the terms of that agreement to use this software.
  9. */
  10. #ifndef lpgdcl_INCLUDED
  11. #define lpgdcl_INCLUDED
  12.  
  13. const unsigned char rhs[] = {0,
  14.             7,1,1,1,1,1,1,1,1,1,1,2,2,3,1,
  15.             1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
  16.             2,1,1,1,1,1,1,2,3,1,2,3,1,1,1,
  17.             1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
  18.             1,2,1,1,1,1,1,1,1,1,1,1,1,2,1,
  19.             1,3,2,3,2,2,2,2,1,1,1,1,3,3,3,
  20.             3,1,1,1,1,1,1,1,2,3,3,3,1,1,1,
  21.             1,1,1,1,1,1,1,1,1,1,1,1,0,1,0,
  22.             1,0,1,0,1,0,1,0,1,0,1,0,2,0,2,
  23.             0,2,0,2,0,2
  24.                  };
  25.  
  26. const unsigned short lhs[] = {0,
  27.             9,9,17,17,17,17,17,17,17,17,18,18,19,19,5,
  28.             5,5,5,5,5,5,5,6,6,6,6,6,6,6,6,
  29.             20,22,22,22,22,22,22,23,25,25,25,25,26,26,26,
  30.             26,27,27,27,27,27,27,27,3,3,3,3,28,28,28,
  31.             28,29,31,31,31,31,31,31,31,31,31,31,32,32,1,
  32.             1,33,33,33,33,33,33,33,33,33,33,33,33,33,33,
  33.             33,7,7,2,2,2,2,2,35,37,37,37,4,4,4,
  34.             4,4,4,4,8,8,8,8,8,8,8,8,10,10,11,
  35.             11,12,12,13,13,14,14,15,15,16,16,21,21,30,30,
  36.             24,24,36,36,34,34,
  37.  
  38.             54,60,129,58,175,1,109,69,53,249,
  39.             42,146,188,247,171,109,145,20,101,2,
  40.             119,172,81,251,87,137,210,251,40,251,
  41.             35,27,29,251,39,191,13,35,27,29,
  42.             18,109,139,14,100,199,193,170,102,161,
  43.             20,186,34,203,179,218,221,189,195,187,
  44.             50,99,67,49,80,204,121,202,196,149,
  45.             123,41,97,133,125,207,111,112,231,48,
  46.             251,1,251,235,193,127,141,251,142,94,
  47.             91,251,135,124,89,129,138,90,141,79,
  48.             154,88,203,94,77,94,156,94,182,251,
  49.             251,251,251,147
  50.                  };
  51.  
  52. const unsigned short *base_action = lhs;
  53.  
  54.  
  55. const unsigned char  term_check[] = {0,
  56.             0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,
  57.             15,16,0,1,2,3,4,5,6,7,8,9,10,11,12,
  58.             13,14,15,16,0,1,2,3,4,5,6,7,8,9,10,
  59.             11,12,0,0,0,3,4,18,0,1,2,3,4,5,6,
  60.             7,8,9,10,17,16,13,14,0,1,2,3,4,5,6,
  61.             7,8,9,10,0,0,13,14,3,4,5,6,7,8,9,
  62.             10,11,12,0,1,2,0,17,0,1,2,3,4,5,6,
  63.             7,8,9,10,11,0,0,0,3,4,5,6,7,8,9,
  64.             10,11,12,0,1,2,0,17,0,1,2,3,4,5,6,
  65.             7,8,0,1,2,0,1,2,15,0,1,2,3,4,5,
  66.             6,7,8,0,1,2,0,0,0,15,0,1,2,3,4,
  67.             5,6,7,8,0,0,1,2,3,0,15,6,7,8,10,
  68.             0,0,0,13,14,0,1,2,3,4,5,6,0,19,9,
  69.             0,1,2,0,4,5,9,0,0,9,10,0,0,0,11,
  70.             0,0,0,0,12,0,0,0,0,0,0,18,0
  71.                  };
  72.  
  73. const unsigned short term_action[] = {0,
  74.             99,326,327,354,367,361,359,355,356,362,
  75.             363,364,365,357,358,368,366,251,326,327,
  76.             354,367,361,359,355,356,362,363,364,365,
  77.             357,358,368,366,251,326,327,279,274,345,
  78.             275,276,277,346,347,348,349,251,132,128,
  79.             245,343,281,38,326,327,294,308,305,312,
  80.             310,295,306,307,344,219,296,297,251,326,
  81.             327,298,308,305,303,302,299,306,307,136,
  82.             73,300,301,140,140,345,335,336,337,346,
  83.             347,348,349,251,326,327,134,140,62,326,
  84.             327,314,319,320,315,316,317,321,322,323,
  85.             74,138,251,240,343,345,242,238,333,346,
  86.             347,348,349,81,326,327,251,344,118,254,
  87.             255,260,261,158,256,257,258,80,326,327,
  88.             83,326,327,259,11,326,327,267,272,273,
  89.             268,269,270,78,326,327,251,251,251,266,
  90.             12,326,327,267,272,273,268,269,270,122,
  91.             251,326,327,354,251,266,359,355,356,206,
  92.             251,251,251,357,358,31,326,327,283,288,
  93.             286,284,120,250,287,251,326,327,124,308,
  94.             305,205,126,130,306,307,251,251,251,214,
  95.             251,251,251,251,164,251,251,251,251,251,
  96.             251,382
  97.                  };
  98.  
  99. #endif /* lpgdcl_INCLUDED */
  100.