1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-06-14 07:30:32 +02:00

handle "this" in ecmascript

* module/language/ecmascript/base.scm:
* module/language/ecmascript/compile-ghil.scm:
* module/language/ecmascript/impl.scm:
* module/language/ecmascript/parse.scm: Compile "method calls" in such a
  way that "this" gets propagated correctly.
This commit is contained in:
Andy Wingo 2009-02-20 13:21:09 +01:00
parent e80ce73d20
commit 785fb107ef
4 changed files with 27 additions and 4 deletions

View file

@ -173,7 +173,7 @@
;; as to get operator precedence right.
;;
(PrimaryExpression (this) -> '(this)
(PrimaryExpression (this) -> 'this
(null) -> 'null
(true) -> #t
(false) -> #f