summaryrefslogtreecommitdiff
path: root/web/yacco2/compiler/grammars/c_stringtbl.cpp
blob: 3719df68938ef9eaf6aa5fc0c020b47ed2ebf38a (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
/*
 File: c_stringtbl.cpp
 Date and Time: Fri Jan 30 18:55:06 2015 
*/
#include "c_string.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_c_string;// grammar's ns
// first set terminals
// LR1_invisible_shift_operator
yacco2::UCHAR LA1_Cc_string[] ={
1
,0,32
};
// LR1_eolr
yacco2::UCHAR LA2_Cc_string[] ={
1
,0,4
};
extern yacco2::State S1_Cc_string;
extern yacco2::State S2_Cc_string;
extern yacco2::State S3_Cc_string;
extern yacco2::State S4_Cc_string;
struct S1std_Cc_string{
  yacco2::USINT no_entries_;
  yacco2::Shift_entry shift_entries_[3];
};
S1std_Cc_string S1st_Cc_string = {
 3
 ,
  {// start of table
   {42,(State*)&S2_Cc_string} // shift sym: raw_dbl_quote
   ,{569,(State*)&S1_Cc_string} // accept sym: Rc_string
   ,{570,(State*)&S3_Cc_string} // shift sym: Rquote
  }// end of shift table
};
yacco2::State S1_Cc_string = //State's vectored into symbol: " No symbol" 
{1
,0,0,0,0,(Shift_tbl*)&S1st_Cc_string,0,0,0,0};
struct S2rtd_Cc_string{
 yacco2::USINT no_entries_;
 yacco2::Reduce_entry reduce_entries_[1];
};
S2rtd_Cc_string S2rt_Cc_string = {
 1
 ,
 {// start of table
  {(Set_tbl*)&LA1_Cc_string,Cc_string::rhs1_Rquote_}
 }// end of reduce table
};
yacco2::State S2_Cc_string = //State's vectored into symbol: "\"" 
{2
,0,0,0,0,0,(Reduce_tbl*)&S2rt_Cc_string,0,0,0};
struct S3std_Cc_string{
  yacco2::USINT no_entries_;
  yacco2::Shift_entry shift_entries_[1];
};
S3std_Cc_string S3st_Cc_string = {
 1
 ,
  {// start of table
   {5,(State*)&S4_Cc_string} // shift sym: LR1_invisible_shift_operator
  }// end of shift table
};
yacco2::Shift_entry S3ise_Cc_string = {5,(State*)&S4_Cc_string};
yacco2::State S3_Cc_string = //State's vectored into symbol: "Rquote" 
{3
,0,0,(Shift_entry*)&S3ise_Cc_string
,0,(Shift_tbl*)&S3st_Cc_string,0,0,0,0};
struct S4rtd_Cc_string{
 yacco2::USINT no_entries_;
 yacco2::Reduce_entry reduce_entries_[1];
};
S4rtd_Cc_string S4rt_Cc_string = {
 1
 ,
 {// start of table
  {(Set_tbl*)&LA2_Cc_string,Cc_string::rhs1_Rc_string_}
 }// end of reduce table
};
yacco2::State S4_Cc_string = //State's vectored into symbol: "|.|" 
{4
,0,0,0,0,0,(Reduce_tbl*)&S4rt_Cc_string,0,0,0};