diff options
Diffstat (limited to 'web/yacco2/qa/term_test4.dat')
-rw-r--r-- | web/yacco2/qa/term_test4.dat | 78 |
1 files changed, 78 insertions, 0 deletions
diff --git a/web/yacco2/qa/term_test4.dat b/web/yacco2/qa/term_test4.dat new file mode 100644 index 0000000000..d2ba07c012 --- /dev/null +++ b/web/yacco2/qa/term_test4.dat @@ -0,0 +1,78 @@ +/* + file: term_test4.dat + dup terminals-refs error +*/ +terminals +(file-name yacco2_terminals +,name-space NS_yacco2_terminals){ + terminals-refs +using namespace std; +using namespace NS_yacco2_err_symbols; +struct T_c_literal; +struct T_identifier; +struct T_syntax_code; +struct T_fsm_class_phrase; +struct T_fsm_class; +struct T_fsm_phrase; +struct T_fsm_operation_phrase; +struct T_parallel_parser_phrase; +struct T_enum_phrase; +struct T_error_symbols_phrase; +struct T_rc_phrase; +struct T_lr1_k_phrase; +struct T_terminals_phrase; +//struct pas_tble_lkup; +//extern "C" pas_tble_lkup* PAS_SYM_TBL_PTR; + *** + terminals-refs +using namespace std; +using namespace NS_yacco2_err_symbols; +struct T_c_literal; +struct T_identifier; +struct T_syntax_code; +struct T_fsm_class_phrase; +struct T_fsm_class; +struct T_fsm_phrase; +struct T_fsm_operation_phrase; +struct T_parallel_parser_phrase; +struct T_enum_phrase; +struct T_error_symbols_phrase; +struct T_rc_phrase; +struct T_lr1_k_phrase; +struct T_terminals_phrase; +//struct pas_tble_lkup; +//extern "C" pas_tble_lkup* PAS_SYM_TBL_PTR; + *** +"#AD" AD (sym-class T_AD) +"#AB" AD (sym-class T_AB) +"#parallel-la-boundary" +(sym-class T_parallel_la_boundary{ + user-declaration + public: + T_parallel_la_boundary(); + INT start_pos(); + void start_pos(INT Start); + INT stop_pos(); + void stop_pos(INT Stop); + void supplier(token_container_type* Supplier); + token_container_type* supplier(); + private:INT start_pos_;INT stop_pos_;token_container_type* supplier_; + *** + user-implementation + T_parallel_la_boundary::T_parallel_la_boundary() { + T_CTOR("#parallel-la-boundary",T_T_parallel_la_boundary_,0,0,false,false,0,0) + start_pos_ = 0;stop_pos_ = 0;supplier_ = 0;} + token_container_type* T_parallel_la_boundary::supplier(){return supplier_;} + void T_parallel_la_boundary::supplier(token_container_type* Supplier){supplier_ = Supplier;} + INT T_parallel_la_boundary::start_pos(){return start_pos_;} + void T_parallel_la_boundary::start_pos(INT Start){start_pos_ = Start;} + INT T_parallel_la_boundary::stop_pos(){return stop_pos_;} + void T_parallel_la_boundary::stop_pos(INT Stop){stop_pos_ = Stop;} + *** + } +) + terminals-sufx +#include "pas_tbl_lkup.h" + *** +"#***" (sym-class T_eocode) +} // end of terminals |