summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/tafreader.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/tafreader.cpp b/src/tafreader.cpp
index 29796f1..7b5e65d 100644
--- a/src/tafreader.cpp
+++ b/src/tafreader.cpp
@@ -28,7 +28,7 @@ Bu::TafGroup *Bu::TafReader::readGroup()
28{ 28{
29 ws(); 29 ws();
30 if( c != '{' ) 30 if( c != '{' )
31 throw TafException("Expected '{'"); 31 throw TafException("Expected '{' at %d:%d.", iLine, iCol );
32 next(); 32 next();
33 ws(); 33 ws();
34 FString sName = readStr(); 34 FString sName = readStr();
@@ -39,7 +39,7 @@ Bu::TafGroup *Bu::TafReader::readGroup()
39 groupContent( pGroup ); 39 groupContent( pGroup );
40 40
41 if( c != '}' ) 41 if( c != '}' )
42 throw TafException("Expected '}'"); 42 throw TafException("Expected '}' at %d:%d.", iLine, iCol );
43 43
44 //next(); 44 //next();
45 45
@@ -147,7 +147,7 @@ Bu::FString Bu::TafReader::readStr()
147 else if( c == '"' ) 147 else if( c == '"' )
148 c = '"'; 148 c = '"';
149 else 149 else
150 throw TafException("Invalid escape sequence."); 150 throw TafException("Invalid escape sequence at %d:%d.", iLine, iCol );
151 } 151 }
152 else if( c == '"' ) 152 else if( c == '"' )
153 break; 153 break;