diff options
Diffstat (limited to 'web/yacco2/compiler/grammars/terminal_def_symclasstbl.cpp')
-rw-r--r-- | web/yacco2/compiler/grammars/terminal_def_symclasstbl.cpp | 732 |
1 files changed, 732 insertions, 0 deletions
diff --git a/web/yacco2/compiler/grammars/terminal_def_symclasstbl.cpp b/web/yacco2/compiler/grammars/terminal_def_symclasstbl.cpp new file mode 100644 index 0000000000..05a363369e --- /dev/null +++ b/web/yacco2/compiler/grammars/terminal_def_symclasstbl.cpp @@ -0,0 +1,732 @@ +/* + File: terminal_def_symclasstbl.cpp + Date and Time: Fri Jan 30 18:55:26 2015 +*/ +#include "terminal_def_symclass.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_terminal_def_symclass;// grammar's ns +// first set terminals +// LR1_eog +// raw_nul +// raw_soh +// raw_stx +// raw_etx +// raw_eot +// raw_enq +// raw_ack +// raw_bel +// raw_bs +// raw_ht +// raw_lf +// raw_vt +// raw_comma +// raw_period +// raw_slash +// raw_colon +// raw_semi_colon +// raw_less_than +// raw_eq +// raw_gt_than +// raw_question_mark +// raw_at_sign +// raw_open_sq_bracket +// raw_back_slash +// raw_close_sq_bracket +// raw_up_arrow +// raw_left_quote +// raw_open_brace +// raw_vertical_line +// raw_close_brace +// raw_tilde +// raw_del +// raw_x80 +// raw_x81 +// raw_x82 +// raw_x83 +// raw_x84 +// raw_x85 +// raw_x86 +// raw_x87 +// raw_x88 +// raw_x89 +// raw_x8a +// raw_x8b +// raw_x8c +// raw_x8d +// raw_x8e +// raw_x8f +// raw_x90 +// raw_x91 +// raw_x92 +// raw_x93 +// raw_x94 +// raw_x95 +// raw_x96 +// raw_x97 +// raw_x98 +// raw_x99 +// raw_x9a +// raw_x9b +// raw_x9c +// raw_x9d +// raw_x9e +// raw_x9f +// raw_xa0 +// raw_xa1 +// raw_xa2 +// raw_xa3 +// raw_xa4 +// raw_xa5 +// raw_xa6 +// raw_xa7 +// raw_xa8 +// raw_xa9 +// raw_xaa +// raw_xab +// raw_xac +// raw_xad +// raw_xae +// raw_xaf +// raw_xb0 +// raw_xb1 +// raw_xb2 +// raw_xb3 +// raw_xb4 +// raw_xb5 +// raw_xb6 +// raw_xb7 +// raw_xb8 +// raw_xb9 +// raw_xba +// raw_xbb +// raw_xbc +// raw_xbd +// raw_xbe +// raw_xbf +// raw_xc0 +// raw_xc1 +// raw_xc2 +// raw_xc3 +// raw_xc4 +// raw_xc5 +// raw_xc6 +// raw_xc7 +// raw_xc8 +// raw_xc9 +// raw_xca +// raw_xcb +// raw_xcc +// raw_xcd +// raw_xce +// raw_xcf +// raw_xd0 +// raw_xd1 +// raw_xd2 +// raw_xd3 +// raw_xd4 +// raw_xd5 +// raw_xd6 +// raw_xd7 +// raw_xd8 +// raw_xd9 +// raw_xda +// raw_xdb +// raw_xdc +// raw_xdd +// raw_xde +// raw_xdf +// raw_xe0 +// raw_xe1 +// raw_xe2 +// raw_xe3 +// raw_xe4 +// raw_xe5 +// raw_xe6 +// raw_xe7 +// raw_xe8 +// raw_xe9 +// raw_xea +// raw_xeb +// raw_xec +// raw_xed +// raw_xee +// raw_xef +// raw_xf0 +// raw_xf1 +// raw_xf2 +// raw_xf3 +// raw_xf4 +// raw_xf5 +// raw_xf6 +// raw_xf7 +// raw_xf8 +// raw_xf9 +// raw_xfa +// raw_xfb +// raw_xfc +// raw_xfd +// raw_xfe +// raw_xff +// T_option_t +// T_option_p +// T_option_err +// T_esc_seq +// T_eol +// T_basic_char +// T_raw_char +// T_comment +// T_ws +// T_angled_string +// T_c_literal +// T_c_string +// T_xc_str +// T_unquoted_string +// T_file_inclusion +// T_identifier +// T_int_no +// T_raw_characters +// T_lr1_constant_symbols +// T_error_symbols +// T_eocode +// T_AD +// T_AB +// T_parallel_la_boundary +// T_arbitrator_code +// T_parallel_parser +// T_parallel_thread_function +// T_parallel_control_monitor +// T_fsm +// T_fsm_id +// T_fsm_filename +// T_fsm_namespace +// T_fsm_class +// T_fsm_version +// T_fsm_date +// T_fsm_debug +// T_fsm_comments +// T_terminals +// T_enumeration +// T_file_name +// T_name_space +// T_sym_class +// T_rules +// T_lhs +// T_user_declaration +// T_user_prefix_declaration +// T_user_suffix_declaration +// T_constructor +// T_destructor +// T_op +// T_failed +// T_user_implementation +// T_user_imp_tbl +// T_user_imp_sym +// T_constant_defs +// T_terminals_refs +// T_terminals_sufx +// T_lrk_sufx +// T_selector +// T_NULL +// T_2colon +// T_block +// T_syntax_code +// T_fsm_class_phrase +// T_fsm_phrase +// T_parallel_parser_phrase +// T_enum_phrase +// T_terminal_def +// table_entry +// T_sym_tbl_report_card +// T_terminals_phrase +// T_error_symbols_phrase +// T_lr1_k_phrase +// T_rc_phrase +// T_rule_lhs_phrase +// T_parallel_monitor_phrase +// rule_def +// T_rules_phrase +// T_subrule_def +// T_subrules_phrase +// T_in_stbl +// refered_T +// rule_in_stbl +// refered_rule +// T_transitive +// T_grammar_name +// T_thread_name +// T_monolithic +// T_no_of_T +// T_list_of_native_first_set_terminals +// T_end_list_of_native_first_set_terminals +// T_list_of_transitive_threads +// T_end_list_of_transitive_threads +// T_emitfile +// T_preamble +// T_end_preamble +// T_T_alphabet +// T_end_T_alphabet +// T_file_of_T_alphabet +// T_attributes +// tth_in_stbl +// thread_attributes +// th_in_stbl +// kw_in_stbl +// T_la_expr_src +// T_eosubrule +// T_called_thread_eosubrule +// T_null_call_thread_eosubrule +// T_cweb_comment +// T_grammar_phrase +// T_cweb_marker +// T_lint +// T_list_of_used_threads +// T_end_list_of_used_threads +// Err_nested_files_exceeded +// Err_no_end_of_code +// Err_no_cmd_lne_data +// Err_no_filename +// Err_bad_filename +// Err_bad_fsmheader_filename +// Err_bad_fsmcpp_filename +// Err_bad_fsmsym_filename +// Err_bad_fsmtbl_filename +// Err_bad_enum_filename +// Err_bad_errors_hdrfilename +// Err_bad_errors_impfilename +// Err_bad_cmd_lne_opt +// Err_bad_int_no +// Err_bad_int_no_range +// Err_no_int_present +// Err_bad_eos +// Err_bad_esc +// Err_comment_overrun +// Err_bad_char +// Err_bad_univ_seq +// Err_improper_closing_of_rules +// Err_no_identifier_present +// Err_no_directive_present +// Err_duplicate_directive +// Err_no_syntax_code_present +// Err_no_open_parenthesis +// Err_no_close_parenthesis +// Err_no_fsm_id_present +// Err_no_fsm_id_string +// Err_no_fsm_filename_present +// Err_no_fsm_filename_id_present +// Err_no_comma_present +// Err_no_terminal_key_present +// Err_no_fsm_namespace_present +// Err_no_fsm_namespace_id_present +// Err_no_fsm_class_present +// Err_no_fsm_version_present +// Err_no_fsm_version_string +// Err_no_fsm_date_present +// Err_no_fsm_date_string +// Err_no_fsm_debug_present +// Err_no_fsm_debug_string +// Err_no_fsm_comments_present +// Err_no_fsm_comments_string +// Err_fsm_debug_string_not_true_or_false +// Err_no_pp_thread_function_present +// Err_no_pp_ctrl_mntor_kw_present +// Err_no_pp_fnct_id_present +// Err_no_pp_bndry_present +// Err_no_pp_la_bndary_expr_present +// Err_no_syntax_code_end_present +// Err_no_pp_code_present +// Err_no_pp_code_stc_present +// Err_not_arbitration_code_kw +// Err_no_open_brace +// Err_no_close_brace +// Err_no_constant_defs_present +// Err_no_filename_present +// Err_no_filename_id_present +// Err_no_namespace_present +// Err_no_namespace_id_present +// Err_no_kdefs_code_present +// Err_no_kdefs_kw_present +// Err_no_tdef_code_present +// Err_no_sym_defs_present +// Err_dup_entry_in_alphabet +// Err_already_defined_AB +// Err_already_defined_AD +// Err_improper_directive +// Err_no_sym_class_present +// Err_no_sym_class_id_present +// Err_zero_len_sym +// Err_sym_tbl_full +// Err_sym_tbl_char_pool_full +// Err_dup_entry_in_sym_table +// Err_subscript_out_of_range +// Err_sym_tbl_nested_scope_stk_overflow +// Err_sym_tbl_nested_scope_stk_underflow +// Err_sym_tbl_context_buf_overflow +// Err_report_card_ptr_0 +// Err_cannot_define_term_after_sufx_dir +// Err_dup_sufx_directive +// Err_terminals_refs_def_after_terminals +// Err_terminals_refs_dup_def +// Err_no_rule_name_present +// Err_no_sub_rule_present +// Err_subrule_use_undefined_T +// Err_stbl_entry_unknown +// Err_subrule_overrun +// Err_stble_has_entry_but_not_a_rule +// Err_file_of_T_alphabet_kw_not_present +// Err_emitfile_kw_not_present +// Err_preamble_kw_not_present +// Err_preamble_srce_code_not_present +// Err_end_preamble_kw_not_present +// Err_cmd_line_chaffe +// Err_T_alphabet_kw_not_present +// Err_T_alphabet_file_not_present +// Err_end_T_alphabet_kw_not_present +// Err_no_terminals_in_T_alphabet_list +// Err_rotten_chr_in_T_alphabet +// Err_transitive_kw_not_present +// Err_grammar_name_kw_not_present +// Err_namespace_kw_not_present +// Err_filename_kw_not_present +// Err_threadname_kw_not_present +// Err_monolithic_kw_not_present +// Err_no_of_T_kw_not_present +// Err_list_of_terminals_kw_not_present +// Err_no_list_of_trans_threads_kw +// Err_no_terminals_present_in_T_alphabet +// Err_transitive_value_bad +// Err_monolithic_value_bad +// Err_grammar_name_value_not_present +// Err_namespace_value_not_present +// Err_threadname_value_not_present +// Err_filename_value_not_present +// Err_no_of_T_value_not_present +// Err_no_of_terminals_not_present +// Err_end_list_native_T_kw_not_present +// Err_end_list_of_transitive_threads_kw_not_present +// Err_no_of_native_Ts_in_list_not_equal +// Err_no_of_threads_in_list_not_equal +// Err_thread_refed_but_not_defined +// Err_bad_T_in_list +// Err_bad_th_in_list +// Err_already_defined_in_fsc_file +// Err_bad_thread_subscript +// Err_not_a_keyword +// Err_no_of_threads_not_present +// Err_bad_T_alphabet +// Err_fsc_file_does_not_exist +// Err_filename_file_does_not_exist +// Err_T_alphabet_file_does_not_exist +// Err_emitfile_file_does_not_exist +// Err_emitfile_file_not_present +// Err_fsc_cntl_file_not_present +// Err_file_of_T_alphabet_not_present +// Err_epsilon_pass_thru +// Err_epsilon_pass_thru_no_Ts +// Err_rule_not_in_stbl +// Err_T_not_in_stbl +// Err_bad_directive +// Err_bad_term_in_la_expr +// Err_empty_set_removal_in_la_expr +// Err_bad_operator_in_la_expr +// Err_not_a_lhs_kw +// Err_pp_la_boundary_attribute_not_fnd +// Err_already_processed_fsm_phase +// Err_already_processed_pp_phase +// Err_already_processed_T_enum_phase +// Err_already_processed_error_phase +// Err_already_processed_rc_phase +// Err_already_processed_lrk_phase +// Err_already_processed_T_phase +// Err_already_processed_rule_phase +// Err_not_T_for_rtned_token_from_th +// Err_not_id_for_ns_in_th_stmt +// Err_not_id_for_th_name_in_th_stmt +// Err_bad_th_qualifier +// Err_not_dbl_colon_in_th_stmt +// Err_not_T_or_R_in_subrule_expr +// Err_not_T_or_R_or_eos_in_subrule_expr +// Err_not_eos_in_subrule_expr +// Err_invalid_logical_name +// Err_invalid_logical_value +// Err_duplicate_logical_name +// Err_missing_terminals_refs_kw +// Err_missing_terminals_sufx_kw +// Err_not_a_terminal_definition +// Err_missing_lrk_sufx_kw +// ERR_sick_grammar +// ERR_no_fsm_phrase +// ERR_no_T_enum_phrase +// ERR_no_lrk_phrase +// ERR_no_rc_phrase +// ERR_no_errors_phrase +// ERR_no_terminals_phrase +// ERR_no_rules_phrase +// Err_used_rule_but_undefined +// Err_rule_already_defined +// Err_la_expr_calc_empty_set +// Err_no_close_brace_ending_rules_defs +// Err_use_of_T_outside_Rules_construct +// Err_not_kw_defining_grammar_construct +// Err_use_of_N_outside_Rules_construct +// Err_misplaced_or_misspelt_Rule_or_T +// Err_not_a_Rule +// Err_empty_file +// Err_not_lhs_pcnrl_mntr +// raw_ff +// raw_cr +// raw_so +// raw_si +// raw_dle +// raw_dc1 +// raw_dc2 +// raw_dc3 +// raw_dc4 +// raw_nak +// raw_syn +// raw_etb +// raw_can +// raw_em +// raw_sub +// raw_esc +// raw_fs +// raw_gs +// raw_rs +// raw_us +// raw_sp +// raw_exclam +// raw_dbl_quote +// raw_no_sign +// raw_dollar_sign +// raw_percent +// raw_ampersign +// raw_right_quote +// raw_open_bracket +// raw_close_bracket +// raw_asteric +// raw_plus +yacco2::UCHAR LA1_Cterminal_def_symclass[] ={ +67 +,0,2 +,1,255 +,2,255 +,3,255 +,4,255 +,5,255 +,6,223 +,8,252 +,9,1 +,12,120 +,13,1 +,16,248 +,17,255 +,18,255 +,19,255 +,20,255 +,21,255 +,22,255 +,23,255 +,24,255 +,25,255 +,26,255 +,27,255 +,28,255 +,29,255 +,30,255 +,31,255 +,32,255 +,33,255 +,34,255 +,35,255 +,36,255 +,37,255 +,38,255 +,39,255 +,40,255 +,41,255 +,42,255 +,43,255 +,44,255 +,45,255 +,46,255 +,47,255 +,48,255 +,49,255 +,50,255 +,51,255 +,52,255 +,53,255 +,54,255 +,55,255 +,56,255 +,57,255 +,58,255 +,59,255 +,60,255 +,61,255 +,62,255 +,63,255 +,64,255 +,65,255 +,66,255 +,67,255 +,68,255 +,69,255 +,70,255 +,71,1 +}; +extern yacco2::State S1_Cterminal_def_symclass; +extern yacco2::State S2_Cterminal_def_symclass; +extern yacco2::State S3_Cterminal_def_symclass; +extern yacco2::State S4_Cterminal_def_symclass; +extern yacco2::State S5_Cterminal_def_symclass; +extern yacco2::State S6_Cterminal_def_symclass; +extern yacco2::State S7_Cterminal_def_symclass; +extern yacco2::State S8_Cterminal_def_symclass; +extern yacco2::State S9_Cterminal_def_symclass; +extern yacco2::State S10_Cterminal_def_symclass; +struct S1std_Cterminal_def_symclass{ + yacco2::USINT no_entries_; + yacco2::Shift_entry shift_entries_[2]; +}; +S1std_Cterminal_def_symclass S1st_Cterminal_def_symclass = { + 2 + , + {// start of table + {123,(State*)&S2_Cterminal_def_symclass} // shift sym: raw_s + ,{569,(State*)&S1_Cterminal_def_symclass} // accept sym: Rterminal_def_symclass + }// end of shift table +}; +yacco2::State S1_Cterminal_def_symclass = //State's vectored into symbol: " No symbol" +{1 +,0,0,0,0,(Shift_tbl*)&S1st_Cterminal_def_symclass,0,0,0,0}; +struct S2std_Cterminal_def_symclass{ + yacco2::USINT no_entries_; + yacco2::Shift_entry shift_entries_[1]; +}; +S2std_Cterminal_def_symclass S2st_Cterminal_def_symclass = { + 1 + , + {// start of table + {129,(State*)&S3_Cterminal_def_symclass} // shift sym: raw_y + }// end of shift table +}; +yacco2::State S2_Cterminal_def_symclass = //State's vectored into symbol: "s" +{2 +,0,0,0,0,(Shift_tbl*)&S2st_Cterminal_def_symclass,0,0,0,0}; +struct S3std_Cterminal_def_symclass{ + yacco2::USINT no_entries_; + yacco2::Shift_entry shift_entries_[1]; +}; +S3std_Cterminal_def_symclass S3st_Cterminal_def_symclass = { + 1 + , + {// start of table + {117,(State*)&S4_Cterminal_def_symclass} // shift sym: raw_m + }// end of shift table +}; +yacco2::State S3_Cterminal_def_symclass = //State's vectored into symbol: "y" +{3 +,0,0,0,0,(Shift_tbl*)&S3st_Cterminal_def_symclass,0,0,0,0}; +struct S4std_Cterminal_def_symclass{ + yacco2::USINT no_entries_; + yacco2::Shift_entry shift_entries_[1]; +}; +S4std_Cterminal_def_symclass S4st_Cterminal_def_symclass = { + 1 + , + {// start of table + {53,(State*)&S5_Cterminal_def_symclass} // shift sym: raw_minus + }// end of shift table +}; +yacco2::State S4_Cterminal_def_symclass = //State's vectored into symbol: "m" +{4 +,0,0,0,0,(Shift_tbl*)&S4st_Cterminal_def_symclass,0,0,0,0}; +struct S5std_Cterminal_def_symclass{ + yacco2::USINT no_entries_; + yacco2::Shift_entry shift_entries_[1]; +}; +S5std_Cterminal_def_symclass S5st_Cterminal_def_symclass = { + 1 + , + {// start of table + {107,(State*)&S6_Cterminal_def_symclass} // shift sym: raw_c + }// end of shift table +}; +yacco2::State S5_Cterminal_def_symclass = //State's vectored into symbol: "-" +{5 +,0,0,0,0,(Shift_tbl*)&S5st_Cterminal_def_symclass,0,0,0,0}; +struct S6std_Cterminal_def_symclass{ + yacco2::USINT no_entries_; + yacco2::Shift_entry shift_entries_[1]; +}; +S6std_Cterminal_def_symclass S6st_Cterminal_def_symclass = { + 1 + , + {// start of table + {116,(State*)&S7_Cterminal_def_symclass} // shift sym: raw_l + }// end of shift table +}; +yacco2::State S6_Cterminal_def_symclass = //State's vectored into symbol: "c" +{6 +,0,0,0,0,(Shift_tbl*)&S6st_Cterminal_def_symclass,0,0,0,0}; +struct S7std_Cterminal_def_symclass{ + yacco2::USINT no_entries_; + yacco2::Shift_entry shift_entries_[1]; +}; +S7std_Cterminal_def_symclass S7st_Cterminal_def_symclass = { + 1 + , + {// start of table + {105,(State*)&S8_Cterminal_def_symclass} // shift sym: raw_a + }// end of shift table +}; +yacco2::State S7_Cterminal_def_symclass = //State's vectored into symbol: "l" +{7 +,0,0,0,0,(Shift_tbl*)&S7st_Cterminal_def_symclass,0,0,0,0}; +struct S8std_Cterminal_def_symclass{ + yacco2::USINT no_entries_; + yacco2::Shift_entry shift_entries_[1]; +}; +S8std_Cterminal_def_symclass S8st_Cterminal_def_symclass = { + 1 + , + {// start of table + {123,(State*)&S9_Cterminal_def_symclass} // shift sym: raw_s + }// end of shift table +}; +yacco2::State S8_Cterminal_def_symclass = //State's vectored into symbol: "a" +{8 +,0,0,0,0,(Shift_tbl*)&S8st_Cterminal_def_symclass,0,0,0,0}; +struct S9std_Cterminal_def_symclass{ + yacco2::USINT no_entries_; + yacco2::Shift_entry shift_entries_[1]; +}; +S9std_Cterminal_def_symclass S9st_Cterminal_def_symclass = { + 1 + , + {// start of table + {123,(State*)&S10_Cterminal_def_symclass} // shift sym: raw_s + }// end of shift table +}; +yacco2::State S9_Cterminal_def_symclass = //State's vectored into symbol: "s" +{9 +,0,0,0,0,(Shift_tbl*)&S9st_Cterminal_def_symclass,0,0,0,0}; +struct S10rtd_Cterminal_def_symclass{ + yacco2::USINT no_entries_; + yacco2::Reduce_entry reduce_entries_[1]; +}; +S10rtd_Cterminal_def_symclass S10rt_Cterminal_def_symclass = { + 1 + , + {// start of table + {(Set_tbl*)&LA1_Cterminal_def_symclass,Cterminal_def_symclass::rhs1_Rterminal_def_symclass_} + }// end of reduce table +}; +yacco2::State S10_Cterminal_def_symclass = //State's vectored into symbol: "s" +{10 +,0,0,0,0,0,(Reduce_tbl*)&S10rt_Cterminal_def_symclass,0,0,0}; |