From ecedf7a7d87553116c570ba789b6405ac5eff92d Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Sun, 26 Aug 2007 04:12:51 +0000 Subject: Corrected a bug in the Bu::TafReader, it was getting confused when a stray colon (common in web addresses) was put in the middle of a property list, now it doesn't get confused, it just complains bitterly and refuses to work. --- src/tafreader.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/tafreader.cpp') diff --git a/src/tafreader.cpp b/src/tafreader.cpp index db465e9..0d28cd0 100644 --- a/src/tafreader.cpp +++ b/src/tafreader.cpp @@ -49,6 +49,8 @@ void Bu::TafReader::groupContent( Bu::TafGroup *pGroup ) return; else if( c == '/' && la == '*' ) pGroup->addChild( readComment() ); + else if( c == ':' ) + throw TafException("Encountered stray ':' in taf stream."); else pGroup->addChild( readProperty() ); } -- cgit v1.2.3