Commit 745c9d21 authored by dickelbeck's avatar dickelbeck

started specctra dsn import/export

parent a441900d
...@@ -1097,13 +1097,14 @@ L_read: ...@@ -1097,13 +1097,14 @@ 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, limit-start+1 );
} }
*head++ = '\0'; curText.clear();
curText.append( cur, head );
curText = cur;
++head; // skip over the trailing delimiter
curTok = T_STRING; curTok = T_STRING;
} }
...@@ -1139,7 +1140,7 @@ L_read: ...@@ -1139,7 +1140,7 @@ L_read:
else else
{ {
head = cur+1; head = cur+1;
while( head<limit && !isspace( *head ) && *head!=')' ) while( head<limit && strchr( ".0123456789", *head ) )
++head; ++head;
curText.clear(); curText.clear();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment