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
119
120
121
122
123
124
125
126
127
128
129
|
/*
File: terminals_phrasetbl.cpp
Date and Time: Fri Jan 30 18:55:27 2015
*/
#include "terminals_phrase.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_terminals_phrase;// grammar's ns
// first set terminals
// LR1_eolr
yacco2::UCHAR LA1_Cterminals_phrase[] ={
1
,0,4
};
extern yacco2::State S1_Cterminals_phrase;
extern yacco2::State S2_Cterminals_phrase;
extern yacco2::State S3_Cterminals_phrase;
struct S3ttd_Cterminals_phrase{
yacco2::USINT no_entries_;
yacco2::Type_pp_fnct_ptr ar_fnct_ptr_;
yacco2::ULINT (*thd_id_bit_map_ptr__)[];
yacco2::Thread_entry* thread_entries_[1];
};
S3ttd_Cterminals_phrase S3tt_Cterminals_phrase = {
1 // no of threads
,0 //AR_rulename or 0
,0// ptr to thread id bit map
,(yacco2::Thread_entry*)&ITH_terminals_phrase_th
};
extern yacco2::State S4_Cterminals_phrase;
extern yacco2::State S5_Cterminals_phrase;
extern yacco2::State S6_Cterminals_phrase;
struct S1std_Cterminals_phrase{
yacco2::USINT no_entries_;
yacco2::Shift_entry shift_entries_[4];
};
S1std_Cterminals_phrase S1st_Cterminals_phrase = {
4
,
{// start of table
{0,(State*)&S2_Cterminals_phrase} // shift sym: LR1_questionable_shift_operator
,{3,(State*)&S3_Cterminals_phrase} // shift sym: LR1_parallel_operator
,{569,(State*)&S1_Cterminals_phrase} // accept sym: Rterminals_phrase
,{570,(State*)&S6_Cterminals_phrase} // shift sym: Rphrase
}// end of shift table
};
yacco2::Shift_entry S1pse_Cterminals_phrase = {3,(State*)&S3_Cterminals_phrase};
yacco2::Shift_entry S1qse_Cterminals_phrase = {0,(State*)&S2_Cterminals_phrase};
yacco2::State S1_Cterminals_phrase = //State's vectored into symbol: " No symbol"
{1
,(Shift_entry*)&S1pse_Cterminals_phrase,0,0,0,(Shift_tbl*)&S1st_Cterminals_phrase,0,(State_s_thread_tbl*)&S3tt_Cterminals_phrase,0,(Shift_entry*)&S1qse_Cterminals_phrase
};
struct S2rtd_Cterminals_phrase{
yacco2::USINT no_entries_;
yacco2::Reduce_entry reduce_entries_[1];
};
S2rtd_Cterminals_phrase S2rt_Cterminals_phrase = {
1
,
{// start of table
{(Set_tbl*)&LA1_Cterminals_phrase,Cterminals_phrase::rhs3_Rphrase_}
}// end of reduce table
};
yacco2::State S2_Cterminals_phrase = //State's vectored into symbol: "|?|"
{2
,0,0,0,0,0,(Reduce_tbl*)&S2rt_Cterminals_phrase,0,0,0};
struct S3std_Cterminals_phrase{
yacco2::USINT no_entries_;
yacco2::Shift_entry shift_entries_[2];
};
S3std_Cterminals_phrase S3st_Cterminals_phrase = {
2
,
{// start of table
{0,(State*)&S4_Cterminals_phrase} // shift sym: LR1_questionable_shift_operator
,{334,(State*)&S5_Cterminals_phrase} // shift sym: T_terminals_phrase
}// end of shift table
};
yacco2::Shift_entry S3qse_Cterminals_phrase = {0,(State*)&S4_Cterminals_phrase};
yacco2::State S3_Cterminals_phrase = //State's vectored into symbol: "|||"
{3
,0,0,0,0,(Shift_tbl*)&S3st_Cterminals_phrase,0,0,0,(Shift_entry*)&S3qse_Cterminals_phrase
};
struct S4rtd_Cterminals_phrase{
yacco2::USINT no_entries_;
yacco2::Reduce_entry reduce_entries_[1];
};
S4rtd_Cterminals_phrase S4rt_Cterminals_phrase = {
1
,
{// start of table
{(Set_tbl*)&LA1_Cterminals_phrase,Cterminals_phrase::rhs2_Rphrase_}
}// end of reduce table
};
yacco2::State S4_Cterminals_phrase = //State's vectored into symbol: "|?|"
{4
,0,0,0,0,0,(Reduce_tbl*)&S4rt_Cterminals_phrase,0,0,0};
struct S5rtd_Cterminals_phrase{
yacco2::USINT no_entries_;
yacco2::Reduce_entry reduce_entries_[1];
};
S5rtd_Cterminals_phrase S5rt_Cterminals_phrase = {
1
,
{// start of table
{(Set_tbl*)&LA1_Cterminals_phrase,Cterminals_phrase::rhs1_Rphrase_}
}// end of reduce table
};
yacco2::State S5_Cterminals_phrase = //State's vectored into symbol: "terminals-phrase"
{5
,0,0,0,0,0,(Reduce_tbl*)&S5rt_Cterminals_phrase,0,0,0};
struct S6rtd_Cterminals_phrase{
yacco2::USINT no_entries_;
yacco2::Reduce_entry reduce_entries_[1];
};
S6rtd_Cterminals_phrase S6rt_Cterminals_phrase = {
1
,
{// start of table
{(Set_tbl*)&LA1_Cterminals_phrase,Cterminals_phrase::rhs1_Rterminals_phrase_}
}// end of reduce table
};
yacco2::State S6_Cterminals_phrase = //State's vectored into symbol: "Rphrase"
{6
,0,0,0,0,0,(Reduce_tbl*)&S6rt_Cterminals_phrase,0,0,0};
|