1
0
Fork 0
forked from fte/fteqw

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:
Spoike 2004-10-26 14:38:19 +00:00
parent e86a39d079
commit 6e08cbd0a1

View file

@ -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);