summaryrefslogtreecommitdiff
path: root/web/yacco2/qa/TS_la7tbl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'web/yacco2/qa/TS_la7tbl.cpp')
-rw-r--r--web/yacco2/qa/TS_la7tbl.cpp677
1 files changed, 677 insertions, 0 deletions
diff --git a/web/yacco2/qa/TS_la7tbl.cpp b/web/yacco2/qa/TS_la7tbl.cpp
new file mode 100644
index 0000000000..9895cb500a
--- /dev/null
+++ b/web/yacco2/qa/TS_la7tbl.cpp
@@ -0,0 +1,677 @@
+/*
+ File: TS_la7tbl.cpp
+ Date and Time: Sat Oct 11 20:57:16 2014
+*/
+#include "TS_la7.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_la7;// 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_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
+// 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
+yacco2::UCHAR LA1_CTS_la7[] ={
+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_CTS_la7;
+extern yacco2::State S2_CTS_la7;
+extern yacco2::State S3_CTS_la7;
+extern yacco2::State S4_CTS_la7;
+extern yacco2::State S5_CTS_la7;
+extern yacco2::State S6_CTS_la7;
+struct S1std_CTS_la7{
+ yacco2::USINT no_entries_;
+ yacco2::Shift_entry shift_entries_[4];
+};
+S1std_CTS_la7 S1st_CTS_la7 = {
+ 4
+ ,
+ {// start of table
+ {18,(State*)&S2_CTS_la7} // shift sym: raw_lf
+ ,{21,(State*)&S3_CTS_la7} // shift sym: raw_cr
+ ,{569,(State*)&S1_CTS_la7} // accept sym: Reol
+ ,{570,(State*)&S6_CTS_la7} // shift sym: Rdelimiters
+ }// end of shift table
+};
+yacco2::State S1_CTS_la7 = //State's vectored into symbol: " No symbol"
+{1
+,0,0,0,0,(Shift_tbl*)&S1st_CTS_la7,0,0,0,0};
+struct S2rtd_CTS_la7{
+ yacco2::USINT no_entries_;
+ yacco2::Reduce_entry reduce_entries_[1];
+};
+S2rtd_CTS_la7 S2rt_CTS_la7 = {
+ 1
+ ,
+ {// start of table
+ {(Set_tbl*)&LA1_CTS_la7,CTS_la7::rhs1_Rdelimiters_}
+ }// end of reduce table
+};
+yacco2::State S2_CTS_la7 = //State's vectored into symbol: "x0a"
+{2
+,0,0,0,0,0,(Reduce_tbl*)&S2rt_CTS_la7,0,0,0};
+struct S3std_CTS_la7{
+ yacco2::USINT no_entries_;
+ yacco2::Shift_entry shift_entries_[2];
+};
+S3std_CTS_la7 S3st_CTS_la7 = {
+ 2
+ ,
+ {// start of table
+ {5,(State*)&S4_CTS_la7} // shift sym: LR1_invisible_shift_operator
+ ,{18,(State*)&S5_CTS_la7} // shift sym: raw_lf
+ }// end of shift table
+};
+yacco2::Shift_entry S3ise_CTS_la7 = {5,(State*)&S4_CTS_la7};
+yacco2::State S3_CTS_la7 = //State's vectored into symbol: "x0d"
+{3
+,0,0,(Shift_entry*)&S3ise_CTS_la7
+,0,(Shift_tbl*)&S3st_CTS_la7,0,0,0,0};
+struct S4rtd_CTS_la7{
+ yacco2::USINT no_entries_;
+ yacco2::Reduce_entry reduce_entries_[1];
+};
+S4rtd_CTS_la7 S4rt_CTS_la7 = {
+ 1
+ ,
+ {// start of table
+ {(Set_tbl*)&LA1_CTS_la7,CTS_la7::rhs2_Rdelimiters_}
+ }// end of reduce table
+};
+yacco2::State S4_CTS_la7 = //State's vectored into symbol: "|.|"
+{4
+,0,0,0,0,0,(Reduce_tbl*)&S4rt_CTS_la7,0,0,0};
+struct S5rtd_CTS_la7{
+ yacco2::USINT no_entries_;
+ yacco2::Reduce_entry reduce_entries_[1];
+};
+S5rtd_CTS_la7 S5rt_CTS_la7 = {
+ 1
+ ,
+ {// start of table
+ {(Set_tbl*)&LA1_CTS_la7,CTS_la7::rhs3_Rdelimiters_}
+ }// end of reduce table
+};
+yacco2::State S5_CTS_la7 = //State's vectored into symbol: "x0a"
+{5
+,0,0,0,0,0,(Reduce_tbl*)&S5rt_CTS_la7,0,0,0};
+struct S6rtd_CTS_la7{
+ yacco2::USINT no_entries_;
+ yacco2::Reduce_entry reduce_entries_[1];
+};
+S6rtd_CTS_la7 S6rt_CTS_la7 = {
+ 1
+ ,
+ {// start of table
+ {(Set_tbl*)&LA1_CTS_la7,CTS_la7::rhs1_Reol_}
+ }// end of reduce table
+};
+yacco2::State S6_CTS_la7 = //State's vectored into symbol: "Rdelimiters"
+{6
+,0,0,0,0,0,(Reduce_tbl*)&S6rt_CTS_la7,0,0,0};