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:
parent
e80ce73d20
commit
785fb107ef
4 changed files with 27 additions and 4 deletions
|
@ -173,7 +173,7 @@
|
|||
;; as to get operator precedence right.
|
||||
;;
|
||||
|
||||
(PrimaryExpression (this) -> '(this)
|
||||
(PrimaryExpression (this) -> 'this
|
||||
(null) -> 'null
|
||||
(true) -> #t
|
||||
(false) -> #f
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue