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
|
||||
if (c=='{' || c=='}'|| c==')'|| c=='(' || c=='\'' || c==':')
|
||||
if (c=='{' || c=='}'|| c==')'|| c=='(' || c=='\'' || c==':' || c==',')
|
||||
{
|
||||
qcc_token[len] = c;
|
||||
len++;
|
||||
|
@ -164,7 +164,7 @@ skipwhite:
|
|||
data++;
|
||||
len++;
|
||||
c = *data;
|
||||
if (c=='{' || c=='}'|| c==')'|| c=='(' || c=='\'' || c==':' || c=='\"')
|
||||
if (c=='{' || c=='}'|| c==')'|| c=='(' || c=='\'' || c==':' || c=='\"' || c==',')
|
||||
break;
|
||||
} while (c>32);
|
||||
|
||||
|
|
Loading…
Reference in a new issue