From c459adcacadd2ea1fb7dfa964bcffe3bf406f327 Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20V=C3=A1zquez?= Date: Fri, 5 Jul 2013 18:32:57 +0200 Subject: [PATCH] Remove js!selfcall --- src/compiler.lisp | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/compiler.lisp b/src/compiler.lisp index 0ce17c3..f34b1c1 100644 --- a/src/compiler.lisp +++ b/src/compiler.lisp @@ -53,15 +53,6 @@ (js-expr arg))))) args)) -;;; Concatenate the arguments and wrap them with a self-calling -;;; Javascript anonymous function. It is used to make some Javascript -;;; statements valid expressions and provide a private scope as well. -;;; It could be defined as function, but we could do some -;;; preprocessing in the future. -(defmacro js!selfcall (&body body) - ``(call (function nil (code ,,@body)))) - - ;;; Like CODE, but prefix each line with four spaces. Two versions ;;; of this function are available, because the Ecmalisp version is ;;; very slow and bootstraping was annoying. -- 1.7.10.4