From e728a5bc3db296b4b67c2d3e5b56558c42c566a8 Mon Sep 17 00:00:00 2001 From: Thomas Grill Date: Mon, 21 Jun 2004 14:08:57 +0000 Subject: "" svn path=/trunk/; revision=1826 --- externals/grill/pool/source/pool.cpp | 12 ++++++------ externals/grill/pool/source/pool.h | 4 ++-- 2 files changed, 8 insertions(+), 8 deletions(-) (limited to 'externals/grill/pool/source') diff --git a/externals/grill/pool/source/pool.cpp b/externals/grill/pool/source/pool.cpp index bda4407a..fd4b4a83 100644 --- a/externals/grill/pool/source/pool.cpp +++ b/externals/grill/pool/source/pool.cpp @@ -623,7 +623,7 @@ static bool gettag(istream &is,xmltag &tag) 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); + for(i = 0; i < 2 && cmp[(ic+i)%2] == commend[i]; ++i) {} if(i == 2) break; // match: comment end found! } else @@ -647,17 +647,17 @@ static bool gettag(istream &is,xmltag &tag) char *tb = tmp,*te = t-1,*tf; - for(; isspace(*tb); ++tb); + for(; isspace(*tb); ++tb) {} if(*tb == '/') { // slash at the beginning -> end tag tag.type = xmltag::t_end; - for(++tb; isspace(*tb); ++tb); + for(++tb; isspace(*tb); ++tb) {} } else { - for(; isspace(*te); --te); + for(; isspace(*te); --te) {} if(*te == '/') { // slash at the end -> empty tag - for(--te; isspace(*te); --te); + for(--te; isspace(*te); --te) {} tag.type = xmltag::t_empty; } else @@ -666,7 +666,7 @@ static bool gettag(istream &is,xmltag &tag) } // copy tag text without slashes - for(tf = tb; tf <= te && *tf && !isspace(*tf); ++tf); + for(tf = tb; tf <= te && *tf && !isspace(*tf); ++tf) {} tag.tag.assign(tb,tf-tb); while(isspace(*tf)) ++tf; tag.attr.assign(tf,te-tf+1); diff --git a/externals/grill/pool/source/pool.h b/externals/grill/pool/source/pool.h index 64445c06..fb1c290e 100644 --- a/externals/grill/pool/source/pool.h +++ b/externals/grill/pool/source/pool.h @@ -15,8 +15,8 @@ WARRANTIES, see the file, "license.txt," in this distribution. #include -#if !defined(FLEXT_VERSION) || (FLEXT_VERSION < 405) -#error You need at least flext version 0.4.5 +#if !defined(FLEXT_VERSION) || (FLEXT_VERSION < 406) +#error You need at least flext version 0.4.6 #endif #include -- cgit v1.2.1