You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
try {
/* JSON-style object definition */
l->match('{');
while (l->tk != '}') {
string id = l->tkStr;
// we only allow strings or IDs on the left hand side of an initialisation
if (l->tk==LEX_STR) l->match(LEX_STR);
else l->match(LEX_ID);
l->match(':');
CScriptVarSmartLink a = assignment(execute);
if (execute) {
contents->addChild(id, a->var);
}
// no need to clean here, as it will definitely be used
if (l->tk != '}') l->match(',');
}
l->match('}');
} catch (CScriptException *e) {
delete contents;
throw e;
}
Original issue reported on code.google.com by zhoujr.m...@gmail.com on 27 Dec 2011 at 10:14
The text was updated successfully, but these errors were encountered:
Original issue reported on code.google.com by
zhoujr.m...@gmail.com
on 27 Dec 2011 at 10:14The text was updated successfully, but these errors were encountered: