aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2007-12-03 14:20:45 +0000
committerMike Buland <eichlan@xagasoft.com>2007-12-03 14:20:45 +0000
commit81e7d758bbb83fc1bdf9df2b9b17d4a7998aec5b (patch)
treee52a0d170d380e8d31d01cb3f67703bdee6ecf86 /src
parent0ff3fdfaa52ee4b71632f201d6bfabb0ffbc36d7 (diff)
downloadlibbu++-81e7d758bbb83fc1bdf9df2b9b17d4a7998aec5b.tar.gz
libbu++-81e7d758bbb83fc1bdf9df2b9b17d4a7998aec5b.tar.bz2
libbu++-81e7d758bbb83fc1bdf9df2b9b17d4a7998aec5b.tar.xz
libbu++-81e7d758bbb83fc1bdf9df2b9b17d4a7998aec5b.zip
Fixed the broken Bu::TafReader, it was stopping the parse after the first '}',
not the last...
Diffstat (limited to '')
-rw-r--r--src/tafreader.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/tafreader.cpp b/src/tafreader.cpp
index 7054581..ea4c955 100644
--- a/src/tafreader.cpp
+++ b/src/tafreader.cpp
@@ -51,7 +51,10 @@ void Bu::TafReader::groupContent( Bu::TafGroup *pGroup )
51 { 51 {
52 ws(); 52 ws();
53 if( c == '{' ) 53 if( c == '{' )
54 {
54 pGroup->addChild( readGroup() ); 55 pGroup->addChild( readGroup() );
56 next();
57 }
55 else if( c == '}' ) 58 else if( c == '}' )
56 return; 59 return;
57 else if( c == '/' && la == '*' ) 60 else if( c == '/' && la == '*' )