summaryrefslogtreecommitdiff
path: root/web/yacco2/compiler/grammars/rhs_componenttbl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'web/yacco2/compiler/grammars/rhs_componenttbl.cpp')
-rw-r--r--web/yacco2/compiler/grammars/rhs_componenttbl.cpp194
1 files changed, 194 insertions, 0 deletions
diff --git a/web/yacco2/compiler/grammars/rhs_componenttbl.cpp b/web/yacco2/compiler/grammars/rhs_componenttbl.cpp
new file mode 100644
index 0000000000..1634ef5d6c
--- /dev/null
+++ b/web/yacco2/compiler/grammars/rhs_componenttbl.cpp
@@ -0,0 +1,194 @@
+/*
+ File: rhs_componenttbl.cpp
+ Date and Time: Fri Jan 30 18:55:22 2015
+*/
+#include "rhs_component.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_rhs_component;// grammar's ns
+// first set terminals
+// LR1_eolr
+yacco2::UCHAR LA1_Crhs_component[] ={
+1
+,0,4
+};
+extern yacco2::State S1_Crhs_component;
+extern yacco2::State S2_Crhs_component;
+struct S2ttd_Crhs_component{
+ yacco2::USINT no_entries_;
+ yacco2::Type_pp_fnct_ptr ar_fnct_ptr_;
+ yacco2::ULINT (*thd_id_bit_map_ptr__)[];
+ yacco2::Thread_entry* thread_entries_[4];
+};
+S2ttd_Crhs_component S2tt_Crhs_component = {
+ 4 // no of threads
+ ,AR_Rrhs_component //AR_rulename or 0
+ ,0// ptr to thread id bit map
+ ,(yacco2::Thread_entry*)&ITH_c_string
+ ,(yacco2::Thread_entry*)&ITH_unq_str
+ ,(yacco2::Thread_entry*)&ITH_identifier
+ ,(yacco2::Thread_entry*)&ITH_cweb_or_c_k
+};
+extern yacco2::State S3_Crhs_component;
+extern yacco2::State S4_Crhs_component;
+extern yacco2::State S5_Crhs_component;
+extern yacco2::State S6_Crhs_component;
+extern yacco2::State S7_Crhs_component;
+extern yacco2::State S8_Crhs_component;
+extern yacco2::State S9_Crhs_component;
+extern yacco2::State S10_Crhs_component;
+struct S1std_Crhs_component{
+ yacco2::USINT no_entries_;
+ yacco2::Shift_entry shift_entries_[2];
+};
+S1std_Crhs_component S1st_Crhs_component = {
+ 2
+ ,
+ {// start of table
+ {3,(State*)&S2_Crhs_component} // shift sym: LR1_parallel_operator
+ ,{569,(State*)&S1_Crhs_component} // accept sym: Rrhs_component
+ }// end of shift table
+};
+yacco2::Shift_entry S1pse_Crhs_component = {3,(State*)&S2_Crhs_component};
+yacco2::State S1_Crhs_component = //State's vectored into symbol: " No symbol"
+{1
+,(Shift_entry*)&S1pse_Crhs_component,0,0,0,(Shift_tbl*)&S1st_Crhs_component,0,(State_s_thread_tbl*)&S2tt_Crhs_component,0,0};
+struct S2std_Crhs_component{
+ yacco2::USINT no_entries_;
+ yacco2::Shift_entry shift_entries_[8];
+};
+S2std_Crhs_component S2st_Crhs_component = {
+ 8
+ ,
+ {// start of table
+ {6,(State*)&S3_Crhs_component} // shift sym: LR1_all_shift_operator
+ ,{275,(State*)&S4_Crhs_component} // shift sym: T_c_string
+ ,{277,(State*)&S5_Crhs_component} // shift sym: T_unquoted_string
+ ,{279,(State*)&S6_Crhs_component} // shift sym: T_identifier
+ ,{344,(State*)&S7_Crhs_component} // shift sym: T_in_stbl
+ ,{346,(State*)&S8_Crhs_component} // shift sym: rule_in_stbl
+ ,{367,(State*)&S9_Crhs_component} // shift sym: kw_in_stbl
+ ,{372,(State*)&S10_Crhs_component} // shift sym: T_cweb_comment
+ }// end of shift table
+};
+yacco2::Shift_entry S2ase_Crhs_component = {6,(State*)&S3_Crhs_component};
+yacco2::State S2_Crhs_component = //State's vectored into symbol: "|||"
+{2
+,0,(Shift_entry*)&S2ase_Crhs_component
+,0,0,(Shift_tbl*)&S2st_Crhs_component,0,0,0,0};
+struct S3rtd_Crhs_component{
+ yacco2::USINT no_entries_;
+ yacco2::Reduce_entry reduce_entries_[1];
+};
+S3rtd_Crhs_component S3rt_Crhs_component = {
+ 1
+ ,
+ {// start of table
+ {(Set_tbl*)&LA1_Crhs_component,Crhs_component::rhs5_Rrhs_component_}
+ }// end of reduce table
+};
+yacco2::State S3_Crhs_component = //State's vectored into symbol: "|+|"
+{3
+,0,0,0,0,0,(Reduce_tbl*)&S3rt_Crhs_component,0,0,0};
+struct S4rtd_Crhs_component{
+ yacco2::USINT no_entries_;
+ yacco2::Reduce_entry reduce_entries_[1];
+};
+S4rtd_Crhs_component S4rt_Crhs_component = {
+ 1
+ ,
+ {// start of table
+ {(Set_tbl*)&LA1_Crhs_component,Crhs_component::rhs2_Rrhs_component_}
+ }// end of reduce table
+};
+yacco2::State S4_Crhs_component = //State's vectored into symbol: "c-string"
+{4
+,0,0,0,0,0,(Reduce_tbl*)&S4rt_Crhs_component,0,0,0};
+struct S5rtd_Crhs_component{
+ yacco2::USINT no_entries_;
+ yacco2::Reduce_entry reduce_entries_[1];
+};
+S5rtd_Crhs_component S5rt_Crhs_component = {
+ 1
+ ,
+ {// start of table
+ {(Set_tbl*)&LA1_Crhs_component,Crhs_component::rhs3_Rrhs_component_}
+ }// end of reduce table
+};
+yacco2::State S5_Crhs_component = //State's vectored into symbol: "unquoted-string"
+{5
+,0,0,0,0,0,(Reduce_tbl*)&S5rt_Crhs_component,0,0,0};
+struct S6rtd_Crhs_component{
+ yacco2::USINT no_entries_;
+ yacco2::Reduce_entry reduce_entries_[1];
+};
+S6rtd_Crhs_component S6rt_Crhs_component = {
+ 1
+ ,
+ {// start of table
+ {(Set_tbl*)&LA1_Crhs_component,Crhs_component::rhs1_Rrhs_component_}
+ }// end of reduce table
+};
+yacco2::State S6_Crhs_component = //State's vectored into symbol: "identifier"
+{6
+,0,0,0,0,0,(Reduce_tbl*)&S6rt_Crhs_component,0,0,0};
+struct S7rtd_Crhs_component{
+ yacco2::USINT no_entries_;
+ yacco2::Reduce_entry reduce_entries_[1];
+};
+S7rtd_Crhs_component S7rt_Crhs_component = {
+ 1
+ ,
+ {// start of table
+ {(Set_tbl*)&LA1_Crhs_component,Crhs_component::rhs7_Rrhs_component_}
+ }// end of reduce table
+};
+yacco2::State S7_Crhs_component = //State's vectored into symbol: "T-in-stbl"
+{7
+,0,0,0,0,0,(Reduce_tbl*)&S7rt_Crhs_component,0,0,0};
+struct S8rtd_Crhs_component{
+ yacco2::USINT no_entries_;
+ yacco2::Reduce_entry reduce_entries_[1];
+};
+S8rtd_Crhs_component S8rt_Crhs_component = {
+ 1
+ ,
+ {// start of table
+ {(Set_tbl*)&LA1_Crhs_component,Crhs_component::rhs6_Rrhs_component_}
+ }// end of reduce table
+};
+yacco2::State S8_Crhs_component = //State's vectored into symbol: "rule-in-stbl"
+{8
+,0,0,0,0,0,(Reduce_tbl*)&S8rt_Crhs_component,0,0,0};
+struct S9rtd_Crhs_component{
+ yacco2::USINT no_entries_;
+ yacco2::Reduce_entry reduce_entries_[1];
+};
+S9rtd_Crhs_component S9rt_Crhs_component = {
+ 1
+ ,
+ {// start of table
+ {(Set_tbl*)&LA1_Crhs_component,Crhs_component::rhs8_Rrhs_component_}
+ }// end of reduce table
+};
+yacco2::State S9_Crhs_component = //State's vectored into symbol: "kw-in-stbl"
+{9
+,0,0,0,0,0,(Reduce_tbl*)&S9rt_Crhs_component,0,0,0};
+struct S10rtd_Crhs_component{
+ yacco2::USINT no_entries_;
+ yacco2::Reduce_entry reduce_entries_[1];
+};
+S10rtd_Crhs_component S10rt_Crhs_component = {
+ 1
+ ,
+ {// start of table
+ {(Set_tbl*)&LA1_Crhs_component,Crhs_component::rhs4_Rrhs_component_}
+ }// end of reduce table
+};
+yacco2::State S10_Crhs_component = //State's vectored into symbol: "cweb-comment"
+{10
+,0,0,0,0,0,(Reduce_tbl*)&S10rt_Crhs_component,0,0,0};