2003-11-29 Casper S. Hornstrup <chorns@users.sourceforge.net>

* tools/cabman/dfp.cxx (CDFParser::Parse): Allow TokenString.
	(CDFParser::PerformFileCopy): Use CurrentChar instead of length of
	CurrentString to find the start of the next token.

svn path=/trunk/; revision=6818
This commit is contained in:
Casper Hornstrup 2003-11-29 19:30:19 +00:00
parent 977cdc663a
commit 13400788e1
2 changed files with 8 additions and 1 deletions

View file

@ -1,3 +1,9 @@
2003-11-29 Casper S. Hornstrup <chorns@users.sourceforge.net>
* tools/cabman/dfp.cxx (CDFParser::Parse): Allow TokenString.
(CDFParser::PerformFileCopy): Use CurrentChar instead of length of
CurrentString to find the start of the next token.
2003-11-08 Martin Fuchs <martin-fuchs@gmx.net>
* controls/button.c partial fix for for Bug #42:

View file

@ -314,6 +314,7 @@ unsigned long CDFParser::Parse()
case TokenInteger:
sprintf(CurrentString, "%lu", CurrentInteger);
case TokenIdentifier:
case TokenString:
if (Command) {
/* Command */
Status = PerformCommand();
@ -1003,7 +1004,7 @@ unsigned long CDFParser::PerformFileCopy()
strcpy(SrcName, "");
strcpy(DstName, "");
i = strlen(CurrentString);
i = CurrentChar;
while ((i < LineLength) &&
((ch = Line[i]) != ' ') &&
(ch != 0x09) &&