more specctra dsn import/export work

This commit is contained in:
dickelbeck 2007-12-22 15:18:03 +00:00
parent b55e819ba3
commit 53be3141d7
1 changed files with 8 additions and 1 deletions

View File

@ -1096,6 +1096,13 @@ L_read:
curText += *cur; curText += *cur;
head = cur+1; head = cur+1;
if( head<limit && *head!=')' && *head!='(' && !isspace(*head) )
{
wxString errtxt(_("String delimiter char must be a single char") );
ThrowIOError( errtxt, cur-start+1 );
}
curTok = T_QUOTE_DEF; curTok = T_QUOTE_DEF;
} }
@ -1112,7 +1119,7 @@ L_read:
if( head >= limit ) if( head >= limit )
{ {
wxString errtxt(_("Un-terminated delimited string") ); wxString errtxt(_("Un-terminated delimited string") );
ThrowIOError( errtxt, limit-start+1 ); ThrowIOError( errtxt, cur-start+1 );
} }
curText.clear(); curText.clear();