18e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project%{ 28e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project/* unfixit.l - convert shortened external names to names back to their 38e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project * original names. (See fixit.l) 48e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project */ 58e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project 68e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project/* 78e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project * This program is included to satisfy "dumb" compilers/linkers which 88e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project * do not know about externals of names longer than 8 bytes. 98e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project * 108e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project * Steven W. Layten 118e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project * Chemical Abstracts Service 128e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project * PO BOX 3012 138e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project * Columbus, OH 43210 148e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project */ 158e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project%} 168e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project%% 178e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project"actfilnm" printf("action_file_name"); 188e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project"actnout" printf("action_out"); 198e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project"addacpt" printf("add_accept"); 208e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project"alllower" printf("all_lower"); 218e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project"allupper" printf("all_upper"); 228e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project"allocarr" printf("allocate_array"); 238e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project"asscrule" printf("assoc_rule"); 248e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project"bktrkfil" printf("backtrack_file"); 258e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project"bktrkrep" printf("backtrack_report"); 268e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project"bol_nded" printf("bol_needed"); 278e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project"bldeofac" printf("build_eof_action"); 288e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project"cclnstal" printf("cclinstal"); 298e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project"ccllookp" printf("ccllookup"); 308e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project"cclnegat" printf("cclnegate"); 318e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project"cclsrted" printf("cclsorted"); 328e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project"ck4bktrk" printf("check_for_backtracking"); 338e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project"cktrlcnt" printf("check_trailing_context"); 348e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project"cntdactn" printf("continued_action"); 358e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project"copystrn" printf("copy_string"); 368e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project"cpunsstr" printf("copy_unsigned_string"); 378e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project"cpyrght" printf("copyright"); 388e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project"copysngl" printf("copysingl"); 398e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project"c_mx_ccl" printf("current_max_ccl_tbl_size"); 408e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project"c_mx_dfa" printf("current_max_dfa_size"); 418e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project"c_mxdfas" printf("current_max_dfas"); 428e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project"curmxrls" printf("current_max_rules"); 438e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project"c_mx_scs" printf("current_max_scs"); 448e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project"c_mx_tmp" printf("current_max_template_xpairs"); 458e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project"c_mx_xpr" printf("current_max_xpairs"); 468e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project"c_mxccls" printf("current_maxccls"); 478e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project"curr_mns" printf("current_mns"); 488e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project"cursttyp" printf("current_state_type"); 498e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project"datflush" printf("dataflush"); 508e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project"dfacunin" printf("dfaacc_union"); 518e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project"do_indnt" printf("do_indent"); 528e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project"dmpasrl" printf("dump_associated_rules"); 538e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project"dmptrns" printf("dump_transitions"); 548e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project"dupmach" printf("dupmachine"); 558e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project"ecsfrmxt" printf("ecs_from_xlation"); 568e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project"eobstate" printf("end_of_buffer_state"); 578e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project"epsclos" printf("epsclosure"); 588e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project"expnxtck" printf("expand_nxt_chk"); 598e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project"fndtblsp" printf("find_table_space"); 608e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project"fnshrule" printf("finish_rule"); 618e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project"firstfre" printf("firstfree"); 628e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project"firstprt" printf("firstprot"); 638e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project"flxgettm" printf("flex_gettime"); 648e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project"flxerror" printf("flexerror"); 658e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project"flxfatal" printf("flexfatal"); 668e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project"fmtptmsg" printf("format_pinpoint_message"); 678e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project"gnNULtrn" printf("gen_NUL_trans"); 688e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project"gnbktrkg" printf("gen_backtracking"); 698e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project"gnbtactn" printf("gen_bt_action"); 708e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project"gnfndact" printf("gen_find_action"); 718e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project"gnlindir" printf("gen_line_dirs"); 728e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project"gnnxcste" printf("gen_next_compressed_state"); 738e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project"gnnxmtch" printf("gen_next_match"); 748e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project"gnnxtst" printf("gen_next_state"); 758e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project"gnstrtst" printf("gen_start_state"); 768e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project"hshentry" printf("hash_entry"); 778e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project"hshfct" printf("hashfunct"); 788e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project"incmxdfa" printf("increase_max_dfas"); 798e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project"indput2s" printf("indent_put2s"); 808e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project"indputs" printf("indent_puts"); 818e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project"infilnam" printf("infilename"); 828e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project"inp_fles" printf("input_files"); 838e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project"intractv" printf("interactive"); 848e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project"lndirout" printf("line_directive_out"); 858e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project"lnkmchns" printf("link_machines"); 868e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project"lst_cset" printf("list_character_set"); 878e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project"maketbls" printf("make_tables"); 888e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project"mkbgnorm" printf("mark_beginning_as_normal"); 898e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project"mktmplat" printf("mktemplate"); 908e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project"nbktrckg" printf("num_backtracking"); 918e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project"ninfiles" printf("num_input_files"); 928e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project"numraloc" printf("num_reallocs"); 938e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project"numrules" printf("num_rules"); 948e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project"nuxlatns" printf("num_xlations"); 958e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project"numnpair" printf("numsnpairs"); 968e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project"outfilnm" printf("output_file_name"); 978e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project"peakpair" printf("peakpairs"); 988e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project"perf_rep" printf("performance_report"); 998e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project"pptmsg" printf("pinpoint_message"); 1008e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project"plcstate" printf("place_state"); 1018e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project"prvctdan" printf("previous_continued_action"); 1028e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project"prtstats" printf("printstats"); 1038e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project"pgm_name" printf("program_name"); 1048e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project"prtcomst" printf("protcomst"); 1058e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project"rdblefrm" printf("readable_form"); 1068e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project"realrjct" printf("real_reject"); 1078e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project"rallocar" printf("reallocate_array"); 1088e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project"rjctused" printf("reject_really_used"); 1098e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project"rulelnno" printf("rule_linenum"); 1108e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project"ruletype" printf("rule_type"); 1118e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project"stinpfle" printf("set_input_file"); 1128e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project"setupia" printf("set_up_initial_allocations"); 1138e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project"startime" printf("starttime"); 1148e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project"ste_type" printf("state_type"); 1158e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project"symfollo" printf("symfollowset"); 1168e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project"sympartn" printf("sympartition"); 1178e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project"syntxerr" printf("syntaxerror"); 1188e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project"tmpactfl" printf("temp_action_file"); 1198e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project"todohead" printf("todo_head"); 1208e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project"todonext" printf("todo_next"); 1218e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project"trnschar" printf("transchar"); 1228e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project"trnstout" printf("transition_struct_out"); 1238e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project"trlcntxt" printf("trlcontxt"); 1248e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project"vtrailrl" printf("variable_trail_rule"); 1258e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project"vtrlctrl" printf("variable_trailing_context_rules"); 1268e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project"varlngth" printf("varlength"); 1278e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project"yycrbffr" printf("yy_create_buffer"); 1288e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project"yydlbffr" printf("yy_delete_buffer"); 1298e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project"yyinbffr" printf("yy_init_buffer"); 1308e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project"yyldbfst" printf("yy_load_buffer_state"); 1318e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project"yyswtobf" printf("yy_switch_to_buffer"); 1328e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project"yyerrflg" printf("yyerrflag"); 1338e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project"yymrreus" printf("yymore_really_used"); 1348e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project"yymrused" printf("yymore_used"); 1358e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project"yyrestrt" printf("yyrestart"); 1368e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project. ECHO; 1378e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project%% 1388e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Projectmain() 1398e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project{ 1408e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project yylex(); 1418e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project} 142