#help_index "DolDoc" U0 DocInit() {//$LK-UL,"CMD Defines",A="MN:DOCT_TEXT"$ CCmpCtrl *cc; I64 i; CHashGeneric *tmph; DefineLstLoad("ST_DOC_CMDS", "TX\0CR\0SR\0TB\0PB\0CU\0MK\0PT\0CL\0PL\0LM\0RM\0HD\0FO\0ID\0FG\0" "BG\0FD\0BD\0WW\0HL\0BK\0IV\0UL\0SX\0SY\0CM\0AN\0LK\0BT\0" "DA\0CB\0LS\0MA\0MU\0HX\0TR\0SP\0IB\0IS\0SO\0HC\0ER\0"); DefineLstLoad("ST_DOC_FLAGS", "T\0LEN\0A\0D\0HTML\0LE\0LM\0RE\0RM\0BI\0BP\0RT\0SX\0SY\0SCX\0U\0" "LC\0LIS\0RC\0RIS\0LX\0CX\0RX\0TY\0CY\0BY\0" "HL\0WW\0BK\0IV\0SEL\0UL\0" "TC\0PRY\0MRX\0WR\0L\0X\0Q\0FST\0B\0S\0BD\0C\0CA\0RD\0UD\0P\0M\0" "TRM\0Z\0H\0TR\0LS\0SK\0PU\0SIF\0FS\0NC\0DD\0DL\0DRT\0"); DefineLstLoad("ST_LINK_TYPES", "FI\0FA\0FF\0FL\0MN\0PI\0PF\0PL\0BF\0DN\0HI\0AD\0AI\0AA\0AF\0AL\0"); doldoc.hash=HashTableNew(512); HashDefineLstAdd("ST_DOC_CMDS",DHT_DOC_CMD,doldoc.hash); HashDefineLstAdd("ST_DOC_FLAGS",DHT_DOC_FLAG,doldoc.hash); HashDefineLstAdd("ST_COLORS",DHT_COLOR,doldoc.hash); MemSet(doldoc.dft_de_flags, 0,sizeof(doldoc.dft_de_flags)); MemSet(doldoc.dft_type_flags, 0,sizeof(doldoc.dft_type_flags)); cc=CmpCtrlNew("TX+T;DA+P+TRM+T+DL+DRT;CM+LE+RE;AN+T;LK+L+UL+T;MA+X+UL+T;" "MU+X+UL+T;BT+X+B+T;CB+CA+P+T+DRT;LS+LS+P+T+DRT;HX+P+Z;TR+TR+C+CA+UL+T;" "SP+T;IB+T;IS+T;SO+T;HC+T;",CCF_DONT_FREE_BUF); cc->htc.hash_table_lst=NULL; Lex(cc); while (cc->token==TK_IDENT) { if (tmph=HashFind(cc->cur_str,doldoc.hash,DHT_DOC_CMD)) { i=tmph->user_data0; Lex(cc); PrsDocFlags(cc,&doldoc.dft_de_flags[i],&doldoc.dft_type_flags[i]); } if (cc->token==';') Lex(cc); } CmpCtrlDel(cc); for (i=0;i