aboutsummaryrefslogtreecommitdiff
path: root/src/tafreader.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/tafreader.cpp')
-rw-r--r--src/tafreader.cpp16
1 files changed, 13 insertions, 3 deletions
diff --git a/src/tafreader.cpp b/src/tafreader.cpp
index aaac8d7..7054581 100644
--- a/src/tafreader.cpp
+++ b/src/tafreader.cpp
@@ -40,7 +40,7 @@ Bu::TafGroup *Bu::TafReader::readGroup()
40 if( c != '}' ) 40 if( c != '}' )
41 throw TafException("Expected '}'"); 41 throw TafException("Expected '}'");
42 42
43 next(); 43 //next();
44 44
45 return pGroup; 45 return pGroup;
46} 46}
@@ -184,7 +184,17 @@ bool Bu::TafReader::isws()
184 184
185void Bu::TafReader::next() 185void Bu::TafReader::next()
186{ 186{
187 c = la; 187 if( c == '}' )
188 sIn.read( &la, 1 ); 188 {
189 sIn.read( &c, 1 );
190 if( c != '}' )
191 sIn.read( &la, 1 );
192 }
193 else
194 {
195 c = la;
196 if( c != '}' )
197 sIn.read( &la, 1 );
198 }
189} 199}
190 200