Subversion Repositories wimsdev

Rev

Rev 8367 | Rev 8843 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 8367 Rev 8400
Line 140... Line 140...
140
            if(*pp) pe=find_matching(pp+1,'}');
140
            if(*pp) pe=find_matching(pp+1,'}');
141
            if(pe) pp2=find_word_start(pe+1); else continue;
141
            if(pe) pp2=find_word_start(pe+1); else continue;
142
            if(pp2) pe2=find_matching(pp2+1,'}'); else continue;
142
            if(pp2) pe2=find_matching(pp2+1,'}'); else continue;
143
            if(pe2 && *pp2=='{' && *pe2=='}') {
143
            if(pe2 && *pp2=='{' && *pe2=='}') {
144
                pp++; pp2++; *p=*pe=*pe2=0;
144
                pp++; pp2++; *p=*pe=*pe2=0;
145
                while((pt=strstr(pp2,"$val1/"))!=NULL)
-
 
146
                  ovlstrcpy(pt,pt+strlen("$val1/"));
-
 
147
                fprintf(outf,"%s \n\
145
                fprintf(outf,"%s \n\
148
!read oef/canvasdraw.phtml %s \\\n%s \n$()", ps,pp,pp2);
146
!read oef/canvasdraw.phtml %s \\\n%s \n$()", ps,pp,pp2);
149
                ps=p=pe2; ps++; continue;
147
                ps=p=pe2; ps++; continue;
150
            }
148
            }
151
          }
149
          }