summaryrefslogtreecommitdiff
path: root/web/yacco2/qa/TS_path4tbl.cpp
blob: 1977ded275ca842e99852eee7d041a45f97ed400 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
/*
 File: TS_path4tbl.cpp
 Date and Time: Sat Oct 11 20:57:28 2014 
*/
#include "TS_path4.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_TS_path4;// grammar's ns
// first set terminals
// LR1_eog
yacco2::UCHAR LA1_CTS_path4[] ={
1
,0,2
};
// LR1_eolr
yacco2::UCHAR LA2_CTS_path4[] ={
1
,0,4
};
extern yacco2::State S1_CTS_path4;
extern yacco2::State S2_CTS_path4;
extern yacco2::State S3_CTS_path4;
struct S1std_CTS_path4{
  yacco2::USINT no_entries_;
  yacco2::Shift_entry shift_entries_[2];
};
S1std_CTS_path4 S1st_CTS_path4 = {
 2
 ,
  {// start of table
   {569,(State*)&S1_CTS_path4} // accept sym: Rstart
   ,{570,(State*)&S2_CTS_path4} // shift sym: RA
  }// end of shift table
};
struct S1rtd_CTS_path4{
 yacco2::USINT no_entries_;
 yacco2::Reduce_entry reduce_entries_[1];
};
S1rtd_CTS_path4 S1rt_CTS_path4 = {
 1
 ,
 {// start of table
  {(Set_tbl*)&LA1_CTS_path4,CTS_path4::rhs2_RA_}
 }// end of reduce table
};
yacco2::State S1_CTS_path4 = //State's vectored into symbol: " No symbol" 
{1
,0,0,0,0,(Shift_tbl*)&S1st_CTS_path4,(Reduce_tbl*)&S1rt_CTS_path4,0,0,0};
struct S2std_CTS_path4{
  yacco2::USINT no_entries_;
  yacco2::Shift_entry shift_entries_[1];
};
S2std_CTS_path4 S2st_CTS_path4 = {
 1
 ,
  {// start of table
   {1,(State*)&S3_CTS_path4} // shift sym: LR1_eog
  }// end of shift table
};
struct S2rtd_CTS_path4{
 yacco2::USINT no_entries_;
 yacco2::Reduce_entry reduce_entries_[1];
};
S2rtd_CTS_path4 S2rt_CTS_path4 = {
 1
 ,
 {// start of table
  {(Set_tbl*)&LA1_CTS_path4,CTS_path4::rhs1_RA_}
 }// end of reduce table
};
yacco2::State S2_CTS_path4 = //State's vectored into symbol: "RA" 
{2
,0,0,0,0,(Shift_tbl*)&S2st_CTS_path4,(Reduce_tbl*)&S2rt_CTS_path4,0,0,0};
struct S3rtd_CTS_path4{
 yacco2::USINT no_entries_;
 yacco2::Reduce_entry reduce_entries_[1];
};
S3rtd_CTS_path4 S3rt_CTS_path4 = {
 1
 ,
 {// start of table
  {(Set_tbl*)&LA2_CTS_path4,CTS_path4::rhs1_Rstart_}
 }// end of reduce table
};
yacco2::State S3_CTS_path4 = //State's vectored into symbol: "eog" 
{3
,0,0,0,0,0,(Reduce_tbl*)&S3rt_CTS_path4,0,0,0};