Change-Id: Iaa933f34fe5a44664f22b4acac5224241c1d864c
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
SyntaxErrorObject::SyntaxErrorObject(ExecutionEngine *engine, const Value &msg)
: ErrorObject(engine, msg, SyntaxError)
+ , msg(0)
{
vtbl = &static_vtbl;
prototype = engine->syntaxErrorPrototype;
SyntaxErrorObject::SyntaxErrorObject(ExecutionEngine *engine, const QString &msg)
: ErrorObject(engine, Value::fromString(engine, msg), SyntaxError)
+ , msg(0)
{
vtbl = &static_vtbl;
prototype = engine->syntaxErrorPrototype;