Subversion Repositories wimsdev

Rev

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

Rev 3718 Rev 3807
Line 27... Line 27...
27
        char buf[MAX_LINELEN+1];
27
        char buf[MAX_LINELEN+1];
28
        memmove(buf,pb,pe-pb); buf[pe-pb]=0;
28
        memmove(buf,pb,pe-pb); buf[pe-pb]=0;
29
        if(!checkregex(buf)) return;
29
        if(!checkregex(buf)) return;
30
    }
30
    }
31
    if(!nocoord)
31
    if(!nocoord)
32
      printf("%d %d %d, ",thisobjline,dist+_estart,pe-pb+dist+_estart);
32
      printf("%d %d %ld, ",thisobjline,dist+_estart,pe-pb+dist+_estart);
33
    while(*commacnt>0 && commas[*commacnt-1]>pe-pb) (*commacnt)--;
33
    while(*commacnt>0 && commas[*commacnt-1]>pe-pb) (*commacnt)--;
34
    if(*commacnt>0 && !nocomma) {
34
    if(*commacnt>0 && !nocomma) {
35
        fwrite(pb,1,commas[0],stdout); putchar(',');
35
        fwrite(pb,1,commas[0],stdout); putchar(',');
36
        for(i=1;i<*commacnt;i++) {
36
        for(i=1;i<*commacnt;i++) {
37
            fwrite(pb+commas[i-1],1,commas[i]-commas[i-1],stdout); putchar(',');
37
            fwrite(pb+commas[i-1],1,commas[i]-commas[i-1],stdout); putchar(',');