Rev 10 | Rev 3807 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 10 | Rev 3718 | ||
---|---|---|---|
Line 129... | Line 129... | ||
129 | if(*reqtype==0) error("Missing extraction type."); |
129 | if(*reqtype==0) error("Missing extraction type."); |
130 | for(i=0;i<exptypeno && strcmp(reqtype,exptype[i].name)!=0; i++); |
130 | for(i=0;i<exptypeno && strcmp(reqtype,exptype[i].name)!=0; i++); |
131 | if(i>=exptypeno) error("Bad extraction type."); |
131 | if(i>=exptypeno) error("Bad extraction type."); |
132 | if(logdir!=0) nopart=1; |
132 | if(logdir!=0) nopart=1; |
133 | while((p=wordchr(objline[0],"nopart"))!=NULL) { |
133 | while((p=wordchr(objline[0],"nopart"))!=NULL) { |
134 | nopart=1; |
134 | nopart=1; ovlstrcpy(p,p+strlen("nopart")); |
135 | } |
135 | } |
136 | while((p=wordchr(objline[0],"nonesting"))!=NULL) { |
136 | while((p=wordchr(objline[0],"nonesting"))!=NULL) { |
137 | nonesting=1; |
137 | nonesting=1; ovlstrcpy(p,p+strlen("nonesting")); |
138 | } |
138 | } |
139 | while((p=wordchr(objline[0],"nocomma"))!=NULL) { |
139 | while((p=wordchr(objline[0],"nocomma"))!=NULL) { |
140 | nocomma=1; |
140 | nocomma=1; ovlstrcpy(p,p+strlen("nocomma")); |
141 | } |
141 | } |
142 | getregex(objline[0]); |
142 | getregex(objline[0]); |
143 | expl1=exptype[i].lvl1; expl2=exptype[i].lvl2; |
143 | expl1=exptype[i].lvl1; expl2=exptype[i].lvl2; |
144 | for(i=1;i<objlinecnt;i++) { |
144 | for(i=1;i<objlinecnt;i++) { |
145 | thisobjline=i; p=find_word_start(objline[i]); |
145 | thisobjline=i; p=find_word_start(objline[i]); |