Subversion Repositories wimsdev

Rev

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

Rev 12247 Rev 15775
Line 85... Line 85...
85
    memmove(nbuf,pp+1,pe-pp-1);nbuf[pe-pp-1]=0;
85
    memmove(nbuf,pp+1,pe-pp-1);nbuf[pe-pp-1]=0;
86
    for(i=varcnt-1;i>=1 && strcmp(nbuf,param[i].name)!=0;i--);
86
    for(i=varcnt-1;i>=1 && strcmp(nbuf,param[i].name)!=0;i--);
87
    if(i>=1) {
87
    if(i>=1) {
88
      if(deftag) param[i].save=1;
88
      if(deftag) param[i].save=1;
89
      if(*pe=='[') {
89
      if(*pe=='[') {
90
        char *pt, tbuf[MAX_LINELEN+1], vbuf[MAX_LINELEN+1];
90
        char *pt, tbuf[MAX_LINELEN+1], vbuf[MAX_LINELEN+20];
91
        int l;
91
        int l;
92
        pt=find_matching(pe+1,']'); if(pt!=NULL && pt-pe<MAX_LINELEN) {
92
        pt=find_matching(pe+1,']'); if(pt!=NULL && pt-pe<MAX_LINELEN) {
93
          pe++; memmove(tbuf,pe,pt-pe); tbuf[pt-pe]=0; pe=pt+1;
93
          pe++; memmove(tbuf,pe,pt-pe); tbuf[pt-pe]=0; pe=pt+1;
94
          subst(tbuf);
94
          subst(tbuf);
95
          for(pt=strchr(tbuf,'\\');pt;pt=strchr(pt,'\\'))
95
          for(pt=strchr(tbuf,'\\');pt;pt=strchr(pt,'\\'))