if (tok.data != "{") {
// paramters or array elements..
- tok.items = this.toItems(toks, [',']);
+ tok.items = this.toItems(toks, ","]);
} else {
// check for types.. it could be a list of statements.. or object
// format "{" "xXXX" ":" << looks for the ':'.. seems to work.. not sure if it's foolproof...
tok.props = this.toProps(toks);
} else {
// list of statemetns..
- tok.items = this.toItems(toks,[ ';', '{'] );;
+ tok.items = this.toItems(toks, ";{");;
}