Add OpenString to FScanner class
This commit is contained in:
parent
3061bcf604
commit
f7bd3acec4
3 changed files with 17 additions and 3 deletions
|
|
@ -1061,7 +1061,7 @@ public:
|
|||
if (tagstring.IsNotEmpty())
|
||||
{
|
||||
FScanner sc;
|
||||
sc.OpenMem("tagstring", tagstring.GetChars(), tagstring.Len());
|
||||
sc.OpenString("tagstring", tagstring);
|
||||
// scan the string as long as valid numbers can be found
|
||||
while (sc.CheckNumber())
|
||||
{
|
||||
|
|
@ -1536,7 +1536,7 @@ public:
|
|||
if (tagstring.IsNotEmpty())
|
||||
{
|
||||
FScanner sc;
|
||||
sc.OpenMem("tagstring", tagstring.GetChars(), tagstring.Len());
|
||||
sc.OpenString("tagstring", tagstring);
|
||||
// scan the string as long as valid numbers can be found
|
||||
while (sc.CheckNumber())
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue