/*
 File: rules_use_cnttbl.cpp
 Date and Time: Fri Jan 30 18:55:23 2015 
*/
#include "rules_use_cnt.h"
using namespace NS_yacco2_T_enum;// enumerate
using namespace NS_yacco2_err_symbols;// error symbols
using namespace NS_yacco2_k_symbols;// lrk 
using namespace NS_yacco2_terminals;// terminals
using namespace NS_yacco2_characters;// rc 
using namespace yacco2;// yacco2 library
using namespace NS_rules_use_cnt;// grammar's ns
// first set terminals
// T_subrule_def
yacco2::UCHAR LA1_Crules_use_cnt[] ={
1
,42,64
};
// LR1_eolr
yacco2::UCHAR LA2_Crules_use_cnt[] ={
1
,0,4
};
// LR1_eog
// rule_def
yacco2::UCHAR LA3_Crules_use_cnt[] ={
2
,0,2
,42,16
};
// LR1_eog
// rule_def
// T_subrule_def
// refered_rule
yacco2::UCHAR LA4_Crules_use_cnt[] ={
3
,0,2
,42,80
,43,8
};
// LR1_eog
// rule_def
// T_subrule_def
yacco2::UCHAR LA5_Crules_use_cnt[] ={
2
,0,2
,42,80
};
extern yacco2::State S1_Crules_use_cnt;
extern yacco2::State S2_Crules_use_cnt;
extern yacco2::State S3_Crules_use_cnt;
extern yacco2::State S4_Crules_use_cnt;
extern yacco2::State S5_Crules_use_cnt;
extern yacco2::State S6_Crules_use_cnt;
extern yacco2::State S7_Crules_use_cnt;
extern yacco2::State S8_Crules_use_cnt;
extern yacco2::State S9_Crules_use_cnt;
extern yacco2::State S10_Crules_use_cnt;
extern yacco2::State S11_Crules_use_cnt;
extern yacco2::State S12_Crules_use_cnt;
extern yacco2::State S13_Crules_use_cnt;
extern yacco2::State S14_Crules_use_cnt;
extern yacco2::State S15_Crules_use_cnt;
extern yacco2::State S16_Crules_use_cnt;
extern yacco2::State S17_Crules_use_cnt;
struct S1std_Crules_use_cnt{
  yacco2::USINT no_entries_;
  yacco2::Shift_entry shift_entries_[5];
};
S1std_Crules_use_cnt S1st_Crules_use_cnt = {
 5
 ,
  {// start of table
   {340,(State*)&S2_Crules_use_cnt} // shift sym: rule_def
   ,{569,(State*)&S1_Crules_use_cnt} // accept sym: Rrules_use_cnt
   ,{570,(State*)&S3_Crules_use_cnt} // shift sym: Rrules
   ,{571,(State*)&S17_Crules_use_cnt} // shift sym: Rrule
   ,{572,(State*)&S6_Crules_use_cnt} // shift sym: Rrule_def
  }// end of shift table
};
yacco2::State S1_Crules_use_cnt = //State's vectored into symbol: " No symbol" 
{1
,0,0,0,0,(Shift_tbl*)&S1st_Crules_use_cnt,0,0,0,0};
struct S2rtd_Crules_use_cnt{
 yacco2::USINT no_entries_;
 yacco2::Reduce_entry reduce_entries_[1];
};
S2rtd_Crules_use_cnt S2rt_Crules_use_cnt = {
 1
 ,
 {// start of table
  {(Set_tbl*)&LA1_Crules_use_cnt,Crules_use_cnt::rhs1_Rrule_def_}
 }// end of reduce table
};
yacco2::State S2_Crules_use_cnt = //State's vectored into symbol: "rule-def" 
{2
,0,0,0,0,0,(Reduce_tbl*)&S2rt_Crules_use_cnt,0,0,0};
struct S3std_Crules_use_cnt{
  yacco2::USINT no_entries_;
  yacco2::Shift_entry shift_entries_[4];
};
S3std_Crules_use_cnt S3st_Crules_use_cnt = {
 4
 ,
  {// start of table
   {1,(State*)&S4_Crules_use_cnt} // shift sym: LR1_eog
   ,{340,(State*)&S2_Crules_use_cnt} // shift sym: rule_def
   ,{571,(State*)&S5_Crules_use_cnt} // shift sym: Rrule
   ,{572,(State*)&S6_Crules_use_cnt} // shift sym: Rrule_def
  }// end of shift table
};
yacco2::State S3_Crules_use_cnt = //State's vectored into symbol: "Rrules" 
{3
,0,0,0,0,(Shift_tbl*)&S3st_Crules_use_cnt,0,0,0,0};
struct S4rtd_Crules_use_cnt{
 yacco2::USINT no_entries_;
 yacco2::Reduce_entry reduce_entries_[1];
};
S4rtd_Crules_use_cnt S4rt_Crules_use_cnt = {
 1
 ,
 {// start of table
  {(Set_tbl*)&LA2_Crules_use_cnt,Crules_use_cnt::rhs1_Rrules_use_cnt_}
 }// end of reduce table
};
yacco2::State S4_Crules_use_cnt = //State's vectored into symbol: "eog" 
{4
,0,0,0,0,0,(Reduce_tbl*)&S4rt_Crules_use_cnt,0,0,0};
struct S5rtd_Crules_use_cnt{
 yacco2::USINT no_entries_;
 yacco2::Reduce_entry reduce_entries_[1];
};
S5rtd_Crules_use_cnt S5rt_Crules_use_cnt = {
 1
 ,
 {// start of table
  {(Set_tbl*)&LA3_Crules_use_cnt,Crules_use_cnt::rhs2_Rrules_}
 }// end of reduce table
};
yacco2::State S5_Crules_use_cnt = //State's vectored into symbol: "Rrule" 
{5
,0,0,0,0,0,(Reduce_tbl*)&S5rt_Crules_use_cnt,0,0,0};
struct S6std_Crules_use_cnt{
  yacco2::USINT no_entries_;
  yacco2::Shift_entry shift_entries_[4];
};
S6std_Crules_use_cnt S6st_Crules_use_cnt = {
 4
 ,
  {// start of table
   {342,(State*)&S7_Crules_use_cnt} // shift sym: T_subrule_def
   ,{573,(State*)&S8_Crules_use_cnt} // shift sym: Rsubrules
   ,{574,(State*)&S15_Crules_use_cnt} // shift sym: Rsubrule
   ,{575,(State*)&S14_Crules_use_cnt} // shift sym: Rsubrule_def
  }// end of shift table
};
yacco2::State S6_Crules_use_cnt = //State's vectored into symbol: "Rrule_def" 
{6
,0,0,0,0,(Shift_tbl*)&S6st_Crules_use_cnt,0,0,0,0};
struct S7rtd_Crules_use_cnt{
 yacco2::USINT no_entries_;
 yacco2::Reduce_entry reduce_entries_[1];
};
S7rtd_Crules_use_cnt S7rt_Crules_use_cnt = {
 1
 ,
 {// start of table
  {(Set_tbl*)&LA4_Crules_use_cnt,Crules_use_cnt::rhs1_Rsubrule_def_}
 }// end of reduce table
};
yacco2::State S7_Crules_use_cnt = //State's vectored into symbol: "subrule-def" 
{7
,0,0,0,0,0,(Reduce_tbl*)&S7rt_Crules_use_cnt,0,0,0};
struct S8std_Crules_use_cnt{
  yacco2::USINT no_entries_;
  yacco2::Shift_entry shift_entries_[3];
};
S8std_Crules_use_cnt S8st_Crules_use_cnt = {
 3
 ,
  {// start of table
   {342,(State*)&S7_Crules_use_cnt} // shift sym: T_subrule_def
   ,{574,(State*)&S9_Crules_use_cnt} // shift sym: Rsubrule
   ,{575,(State*)&S14_Crules_use_cnt} // shift sym: Rsubrule_def
  }// end of shift table
};
struct S8rtd_Crules_use_cnt{
 yacco2::USINT no_entries_;
 yacco2::Reduce_entry reduce_entries_[1];
};
S8rtd_Crules_use_cnt S8rt_Crules_use_cnt = {
 1
 ,
 {// start of table
  {(Set_tbl*)&LA3_Crules_use_cnt,Crules_use_cnt::rhs1_Rrule_}
 }// end of reduce table
};
yacco2::State S8_Crules_use_cnt = //State's vectored into symbol: "Rsubrules" 
{8
,0,0,0,0,(Shift_tbl*)&S8st_Crules_use_cnt,(Reduce_tbl*)&S8rt_Crules_use_cnt,0,0,0};
struct S9std_Crules_use_cnt{
  yacco2::USINT no_entries_;
  yacco2::Shift_entry shift_entries_[3];
};
S9std_Crules_use_cnt S9st_Crules_use_cnt = {
 3
 ,
  {// start of table
   {347,(State*)&S10_Crules_use_cnt} // shift sym: refered_rule
   ,{576,(State*)&S11_Crules_use_cnt} // shift sym: Rsubrule_s_used_rules_epi
   ,{577,(State*)&S12_Crules_use_cnt} // shift sym: Rsubrule_s_used_rules
  }// end of shift table
};
struct S9rtd_Crules_use_cnt{
 yacco2::USINT no_entries_;
 yacco2::Reduce_entry reduce_entries_[1];
};
S9rtd_Crules_use_cnt S9rt_Crules_use_cnt = {
 1
 ,
 {// start of table
  {(Set_tbl*)&LA5_Crules_use_cnt,Crules_use_cnt::rhs1_Rsubrule_s_used_rules_epi_}
 }// end of reduce table
};
yacco2::State S9_Crules_use_cnt = //State's vectored into symbol: "Rsubrule" 
{9
,0,0,0,0,(Shift_tbl*)&S9st_Crules_use_cnt,(Reduce_tbl*)&S9rt_Crules_use_cnt,0,0,0};
struct S10rtd_Crules_use_cnt{
 yacco2::USINT no_entries_;
 yacco2::Reduce_entry reduce_entries_[1];
};
S10rtd_Crules_use_cnt S10rt_Crules_use_cnt = {
 1
 ,
 {// start of table
  {(Set_tbl*)&LA4_Crules_use_cnt,Crules_use_cnt::rhs1_Rsubrule_s_used_rules_}
 }// end of reduce table
};
yacco2::State S10_Crules_use_cnt = //State's vectored into symbol: "refered-rule" 
{10
,0,0,0,0,0,(Reduce_tbl*)&S10rt_Crules_use_cnt,0,0,0};
struct S11rtd_Crules_use_cnt{
 yacco2::USINT no_entries_;
 yacco2::Reduce_entry reduce_entries_[1];
};
S11rtd_Crules_use_cnt S11rt_Crules_use_cnt = {
 1
 ,
 {// start of table
  {(Set_tbl*)&LA5_Crules_use_cnt,Crules_use_cnt::rhs2_Rsubrules_}
 }// end of reduce table
};
yacco2::State S11_Crules_use_cnt = //State's vectored into symbol: "Rsubrule_s_used_rules_epi" 
{11
,0,0,0,0,0,(Reduce_tbl*)&S11rt_Crules_use_cnt,0,0,0};
struct S12std_Crules_use_cnt{
  yacco2::USINT no_entries_;
  yacco2::Shift_entry shift_entries_[1];
};
S12std_Crules_use_cnt S12st_Crules_use_cnt = {
 1
 ,
  {// start of table
   {347,(State*)&S13_Crules_use_cnt} // shift sym: refered_rule
  }// end of shift table
};
struct S12rtd_Crules_use_cnt{
 yacco2::USINT no_entries_;
 yacco2::Reduce_entry reduce_entries_[1];
};
S12rtd_Crules_use_cnt S12rt_Crules_use_cnt = {
 1
 ,
 {// start of table
  {(Set_tbl*)&LA5_Crules_use_cnt,Crules_use_cnt::rhs2_Rsubrule_s_used_rules_epi_}
 }// end of reduce table
};
yacco2::State S12_Crules_use_cnt = //State's vectored into symbol: "Rsubrule_s_used_rules" 
{12
,0,0,0,0,(Shift_tbl*)&S12st_Crules_use_cnt,(Reduce_tbl*)&S12rt_Crules_use_cnt,0,0,0};
struct S13rtd_Crules_use_cnt{
 yacco2::USINT no_entries_;
 yacco2::Reduce_entry reduce_entries_[1];
};
S13rtd_Crules_use_cnt S13rt_Crules_use_cnt = {
 1
 ,
 {// start of table
  {(Set_tbl*)&LA4_Crules_use_cnt,Crules_use_cnt::rhs2_Rsubrule_s_used_rules_}
 }// end of reduce table
};
yacco2::State S13_Crules_use_cnt = //State's vectored into symbol: "refered-rule" 
{13
,0,0,0,0,0,(Reduce_tbl*)&S13rt_Crules_use_cnt,0,0,0};
struct S14rtd_Crules_use_cnt{
 yacco2::USINT no_entries_;
 yacco2::Reduce_entry reduce_entries_[1];
};
S14rtd_Crules_use_cnt S14rt_Crules_use_cnt = {
 1
 ,
 {// start of table
  {(Set_tbl*)&LA4_Crules_use_cnt,Crules_use_cnt::rhs1_Rsubrule_}
 }// end of reduce table
};
yacco2::State S14_Crules_use_cnt = //State's vectored into symbol: "Rsubrule_def" 
{14
,0,0,0,0,0,(Reduce_tbl*)&S14rt_Crules_use_cnt,0,0,0};
struct S15std_Crules_use_cnt{
  yacco2::USINT no_entries_;
  yacco2::Shift_entry shift_entries_[3];
};
S15std_Crules_use_cnt S15st_Crules_use_cnt = {
 3
 ,
  {// start of table
   {347,(State*)&S10_Crules_use_cnt} // shift sym: refered_rule
   ,{576,(State*)&S16_Crules_use_cnt} // shift sym: Rsubrule_s_used_rules_epi
   ,{577,(State*)&S12_Crules_use_cnt} // shift sym: Rsubrule_s_used_rules
  }// end of shift table
};
struct S15rtd_Crules_use_cnt{
 yacco2::USINT no_entries_;
 yacco2::Reduce_entry reduce_entries_[1];
};
S15rtd_Crules_use_cnt S15rt_Crules_use_cnt = {
 1
 ,
 {// start of table
  {(Set_tbl*)&LA5_Crules_use_cnt,Crules_use_cnt::rhs1_Rsubrule_s_used_rules_epi_}
 }// end of reduce table
};
yacco2::State S15_Crules_use_cnt = //State's vectored into symbol: "Rsubrule" 
{15
,0,0,0,0,(Shift_tbl*)&S15st_Crules_use_cnt,(Reduce_tbl*)&S15rt_Crules_use_cnt,0,0,0};
struct S16rtd_Crules_use_cnt{
 yacco2::USINT no_entries_;
 yacco2::Reduce_entry reduce_entries_[1];
};
S16rtd_Crules_use_cnt S16rt_Crules_use_cnt = {
 1
 ,
 {// start of table
  {(Set_tbl*)&LA5_Crules_use_cnt,Crules_use_cnt::rhs1_Rsubrules_}
 }// end of reduce table
};
yacco2::State S16_Crules_use_cnt = //State's vectored into symbol: "Rsubrule_s_used_rules_epi" 
{16
,0,0,0,0,0,(Reduce_tbl*)&S16rt_Crules_use_cnt,0,0,0};
struct S17rtd_Crules_use_cnt{
 yacco2::USINT no_entries_;
 yacco2::Reduce_entry reduce_entries_[1];
};
S17rtd_Crules_use_cnt S17rt_Crules_use_cnt = {
 1
 ,
 {// start of table
  {(Set_tbl*)&LA3_Crules_use_cnt,Crules_use_cnt::rhs1_Rrules_}
 }// end of reduce table
};
yacco2::State S17_Crules_use_cnt = //State's vectored into symbol: "Rrule" 
{17
,0,0,0,0,0,(Reduce_tbl*)&S17rt_Crules_use_cnt,0,0,0};
