/*6:*/ #line 132 "./testdriver.w" /*3:*/ #line 36 "./testdriver.w" #include "globals.h" #include "yacco2_stbl.h" using namespace yacco2_stbl; #include "test_components.h" #include "o2_externs.h" /*:3*//*4:*/ #line 44 "./testdriver.w" int RECURSION_INDEX__(0); YACCO2_define_trace_variables(); yacco2::TOKEN_GAGGLE P3_tokens; yacco2::TOKEN_GAGGLE Error_queue; yacco2::TOKEN_GAGGLE tc_recycle_bin; T_sym_tbl_report_card report_card; std::string tc_file_to_compile; STBL_T_ITEMS_type STBL_T_ITEMS; yacco2::CHAR T_SW('n'); yacco2::CHAR ERR_SW('n'); yacco2::CHAR PRT_SW('n'); STATES_type LR1_STATES; LR1_STATES_type LR1_COMMON_STATES; bool LR1_HEALTH(LR1_COMPATIBLE); int NO_LR1_STATES(0); STATES_SET_type VISITED_MERGE_STATES_IN_LA_CALC; CYCLIC_USE_TBL_type CYCLIC_USE_TABLE; /*:4*//*5:*/ #line 67 "./testdriver.w" int main(int argc,char*argv[]){ cout<<"Testdriver start"< cmd_line(tc_file_to_compile.c_str()); if(cmd_line.file_ok()==NO){ cout<<"Error occurred file does not exist: "<id() <<" file no: "<external_file_id() <<" line no: "<line_no() <<" pos: "<pos_in_line() <id() <<" file no: "<external_file_id() <<" line no: "<line_no() <<" pos: "<pos_in_line() <