make string tokenizing treat commas as seperate tokens.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@363 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
e86a39d079
commit
6e08cbd0a1
1 changed files with 2 additions and 2 deletions
|
@ -149,7 +149,7 @@ skipwhite:
|
||||||
}
|
}
|
||||||
|
|
||||||
// parse single characters
|
// parse single characters
|
||||||
if (c=='{' || c=='}'|| c==')'|| c=='(' || c=='\'' || c==':')
|
if (c=='{' || c=='}'|| c==')'|| c=='(' || c=='\'' || c==':' || c==',')
|
||||||
{
|
{
|
||||||
qcc_token[len] = c;
|
qcc_token[len] = c;
|
||||||
len++;
|
len++;
|
||||||
|
@ -164,7 +164,7 @@ skipwhite:
|
||||||
data++;
|
data++;
|
||||||
len++;
|
len++;
|
||||||
c = *data;
|
c = *data;
|
||||||
if (c=='{' || c=='}'|| c==')'|| c=='(' || c=='\'' || c==':' || c=='\"')
|
if (c=='{' || c=='}'|| c==')'|| c=='(' || c=='\'' || c==':' || c=='\"' || c==',')
|
||||||
break;
|
break;
|
||||||
} while (c>32);
|
} while (c>32);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue