diff options
author | Lars Knoll <lars.knoll@digia.com> | 2012-12-09 05:16:04 +0100 |
---|---|---|
committer | Lars Knoll <lars.knoll@digia.com> | 2012-12-10 20:08:21 +0100 |
commit | df458859f443c6c559c39c667952bcb85f277e9a (patch) | |
tree | 5388ff9fe0a638dc6511f94bd489537456d8db57 /qmljs_engine.h | |
parent | f7408295611f61a7c607430e4ffa7e6a37f4c6c3 (diff) |
Return the this object if we ask for it
This makes expressions such as typeof(this) work
correctly.
Change-Id: I44270f877fdee648e69ae44089ffc8fb57243401
Reviewed-by: Erik Verbruggen <erik.verbruggen@digia.com>
Diffstat (limited to 'qmljs_engine.h')
-rw-r--r-- | qmljs_engine.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/qmljs_engine.h b/qmljs_engine.h index 85a3909599..1b4e593200 100644 --- a/qmljs_engine.h +++ b/qmljs_engine.h @@ -135,6 +135,7 @@ struct ExecutionEngine String *id_prototype; String *id_constructor; String *id_arguments; + String *id_this; String *id___proto__; String *id_enumerable; String *id_configurable; |