Update of /cvsroot/pure-data/externals/grill/pool/source In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26504/source
Modified Files: pool.cpp pool.h Log Message: ""
Index: pool.cpp =================================================================== RCS file: /cvsroot/pure-data/externals/grill/pool/source/pool.cpp,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** pool.cpp 22 Apr 2004 02:41:30 -0000 1.3 --- pool.cpp 21 Jun 2004 14:02:56 -0000 1.4 *************** *** 624,628 **** // 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! } --- 624,628 ---- // 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! } *************** *** 648,662 **** char *tb = tmp,*te = t-1,*tf;
! for(; isspace(*tb); ++tb); if(*tb == '/') { // slash at the beginning -> end tag tag.type = xmltag::t_end; ! for(++tb; isspace(*tb); ++tb); } else { ! for(; isspace(*te); --te); if(*te == '/') { // slash at the end -> empty tag ! for(--te; isspace(*te); --te); tag.type = xmltag::t_empty; } --- 648,662 ---- char *tb = tmp,*te = t-1,*tf;
! for(; isspace(*tb); ++tb) {} if(*tb == '/') { // slash at the beginning -> end tag tag.type = xmltag::t_end; ! for(++tb; isspace(*tb); ++tb) {} } else { ! for(; isspace(*te); --te) {} if(*te == '/') { // slash at the end -> empty tag ! for(--te; isspace(*te); --te) {} tag.type = xmltag::t_empty; } *************** *** 667,671 ****
// copy tag text without slashes ! for(tf = tb; tf <= te && *tf && !isspace(*tf); ++tf); tag.tag.assign(tb,tf-tb); while(isspace(*tf)) ++tf; --- 667,671 ----
// copy tag text without slashes ! for(tf = tb; tf <= te && *tf && !isspace(*tf); ++tf) {} tag.tag.assign(tb,tf-tb); while(isspace(*tf)) ++tf;
Index: pool.h =================================================================== RCS file: /cvsroot/pure-data/externals/grill/pool/source/pool.h,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** pool.h 22 Apr 2004 02:41:30 -0000 1.3 --- pool.h 21 Jun 2004 14:02:56 -0000 1.4 *************** *** 16,21 **** #include <flext.h>
! #if !defined(FLEXT_VERSION) || (FLEXT_VERSION < 405) ! #error You need at least flext version 0.4.5 #endif
--- 16,21 ---- #include <flext.h>
! #if !defined(FLEXT_VERSION) || (FLEXT_VERSION < 406) ! #error You need at least flext version 0.4.6 #endif