aboutsummaryrefslogtreecommitdiffstats
path: root/qv4ecmaobjects_p.h
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@digia.com>2012-10-19 23:10:42 +0200
committerSimon Hausmann <simon.hausmann@digia.com>2012-10-20 12:33:20 +0200
commit04b12a90b8ac5c44097bbf60a730f36b58578086 (patch)
treedf8d21d87c75548aaa07d66b1fe3d2333c6387c4 /qv4ecmaobjects_p.h
parentacfb62cc2e6a85a5546dec3f586cf0cdf3deb7ca (diff)
Implement regexp support
Change-Id: I86c9bbe69c9ba4ae9d300b62e7d16b372f3478ea Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'qv4ecmaobjects_p.h')
-rw-r--r--qv4ecmaobjects_p.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/qv4ecmaobjects_p.h b/qv4ecmaobjects_p.h
index c65ab81a84..b918973bf4 100644
--- a/qv4ecmaobjects_p.h
+++ b/qv4ecmaobjects_p.h
@@ -286,7 +286,7 @@ struct RegExpCtor: FunctionObject
struct RegExpPrototype: RegExpObject
{
- RegExpPrototype(): RegExpObject(Value::fromDouble(qSNaN())) {}
+ RegExpPrototype(): RegExpObject(QRegularExpression(), false) {}
void init(Context *ctx, const Value &ctor);
static void method_exec(Context *ctx);