summaryrefslogtreecommitdiff
path: root/web/yacco2/qa/TS_labtbl.cpp
blob: 44f8451d9900753007360e1ac5dc1737640cc1fa (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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
/*
 File: TS_labtbl.cpp
 Date and Time: Sat Oct 11 20:57:21 2014 
*/
#include "TS_lab.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_lab;// grammar's ns
// first set terminals
// raw_plus
// raw_minus
// raw_a
// raw_b
yacco2::UCHAR LA1_CTS_lab[] ={
2
,6,40
,13,6
};
extern yacco2::State S1_CTS_lab;
extern yacco2::State S2_CTS_lab;
extern yacco2::State S3_CTS_lab;
extern yacco2::State S4_CTS_lab;
extern yacco2::State S5_CTS_lab;
extern yacco2::State S6_CTS_lab;
struct S1std_CTS_lab{
  yacco2::USINT no_entries_;
  yacco2::Shift_entry shift_entries_[4];
};
S1std_CTS_lab S1st_CTS_lab = {
 4
 ,
  {// start of table
   {18,(State*)&S2_CTS_lab} // shift sym: raw_lf
   ,{21,(State*)&S3_CTS_lab} // shift sym: raw_cr
   ,{569,(State*)&S1_CTS_lab} // accept sym: Reol
   ,{570,(State*)&S6_CTS_lab} // shift sym: Rdelimiters
  }// end of shift table
};
yacco2::State S1_CTS_lab = //State's vectored into symbol: " No symbol" 
{1
,0,0,0,0,(Shift_tbl*)&S1st_CTS_lab,0,0,0,0};
struct S2rtd_CTS_lab{
 yacco2::USINT no_entries_;
 yacco2::Reduce_entry reduce_entries_[1];
};
S2rtd_CTS_lab S2rt_CTS_lab = {
 1
 ,
 {// start of table
  {(Set_tbl*)&LA1_CTS_lab,CTS_lab::rhs1_Rdelimiters_}
 }// end of reduce table
};
yacco2::State S2_CTS_lab = //State's vectored into symbol: "x0a" 
{2
,0,0,0,0,0,(Reduce_tbl*)&S2rt_CTS_lab,0,0,0};
struct S3std_CTS_lab{
  yacco2::USINT no_entries_;
  yacco2::Shift_entry shift_entries_[2];
};
S3std_CTS_lab S3st_CTS_lab = {
 2
 ,
  {// start of table
   {5,(State*)&S4_CTS_lab} // shift sym: LR1_invisible_shift_operator
   ,{18,(State*)&S5_CTS_lab} // shift sym: raw_lf
  }// end of shift table
};
yacco2::Shift_entry S3ise_CTS_lab = {5,(State*)&S4_CTS_lab};
yacco2::State S3_CTS_lab = //State's vectored into symbol: "x0d" 
{3
,0,0,(Shift_entry*)&S3ise_CTS_lab
,0,(Shift_tbl*)&S3st_CTS_lab,0,0,0,0};
struct S4rtd_CTS_lab{
 yacco2::USINT no_entries_;
 yacco2::Reduce_entry reduce_entries_[1];
};
S4rtd_CTS_lab S4rt_CTS_lab = {
 1
 ,
 {// start of table
  {(Set_tbl*)&LA1_CTS_lab,CTS_lab::rhs2_Rdelimiters_}
 }// end of reduce table
};
yacco2::State S4_CTS_lab = //State's vectored into symbol: "|.|" 
{4
,0,0,0,0,0,(Reduce_tbl*)&S4rt_CTS_lab,0,0,0};
struct S5rtd_CTS_lab{
 yacco2::USINT no_entries_;
 yacco2::Reduce_entry reduce_entries_[1];
};
S5rtd_CTS_lab S5rt_CTS_lab = {
 1
 ,
 {// start of table
  {(Set_tbl*)&LA1_CTS_lab,CTS_lab::rhs3_Rdelimiters_}
 }// end of reduce table
};
yacco2::State S5_CTS_lab = //State's vectored into symbol: "x0a" 
{5
,0,0,0,0,0,(Reduce_tbl*)&S5rt_CTS_lab,0,0,0};
struct S6rtd_CTS_lab{
 yacco2::USINT no_entries_;
 yacco2::Reduce_entry reduce_entries_[1];
};
S6rtd_CTS_lab S6rt_CTS_lab = {
 1
 ,
 {// start of table
  {(Set_tbl*)&LA1_CTS_lab,CTS_lab::rhs1_Reol_}
 }// end of reduce table
};
yacco2::State S6_CTS_lab = //State's vectored into symbol: "Rdelimiters" 
{6
,0,0,0,0,0,(Reduce_tbl*)&S6rt_CTS_lab,0,0,0};