Update of /cvsroot/pure-data/externals/grill/pool In directory sc8-pr-cvs1:/tmp/cvs-serv17568
Modified Files: pool.cpp Log Message: ""
Index: pool.cpp =================================================================== RCS file: /cvsroot/pure-data/externals/grill/pool/pool.cpp,v retrieving revision 1.15 retrieving revision 1.16 diff -C2 -d -r1.15 -r1.16 *** pool.cpp 17 Dec 2003 03:37:55 -0000 1.15 --- pool.cpp 18 Dec 2003 03:38:02 -0000 1.16 *************** *** 617,626 ****
if(!*c) { // is comment ! char cmp[2] = {0,0}; for(int ic = 0; ; ic = (++ic)%2) { char c = is.get(); if(c == '>') { ! for(int i = 0; i < 2 && cmp[(ic+i)%2] == commend[i]; ++i); ! if(i == 2) break; // comment end! } else --- 617,629 ----
if(!*c) { // is comment ! char cmp[2] = {0,0}; // set to some unusual initial value ! for(int ic = 0; ; ic = (++ic)%2) { char c = is.get(); if(c == '>') { ! // if third character is > then check also the former two ! int i; ! for(i = 0; i < 2 && cmp[(ic+i)%2] == commend[i]; ++i); ! if(i == 2) break; // match: comment end found! } else