Mike Gerwitz

Activist for User Freedom

aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Gerwitz <mtg@gnu.org>2018-09-10 20:44:31 -0400
committerMike Gerwitz <mtg@gnu.org>2018-09-10 20:44:31 -0400
commitce68c8ca05d840797548b57e35c9cfb58fd4cd6d (patch)
treeee7f4257c0780e598b2aa945485d3fc6d8d3a205
parent0559d3a73bc2eadb7e965091e3303ecded1839e6 (diff)
downloadulambda-ce68c8ca05d840797548b57e35c9cfb58fd4cd6d.tar.gz
ulambda-ce68c8ca05d840797548b57e35c9cfb58fd4cd6d.tar.bz2
ulambda-ce68c8ca05d840797548b57e35c9cfb58fd4cd6d.zip
rebirth: Properly terminate generated proc in ES output
* build-aux/bootstrap/rebirth/es.scm (cdfn-proc): Add missing semicolon. This was causing serious problems when the folloiwng line introduced lexical scope, since that encloses the scope in a self-executing function, but the opening parenthesis were interpreted as invoking the code preceding it.
-rw-r--r--build-aux/bootstrap/rebirth.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/build-aux/bootstrap/rebirth.scm b/build-aux/bootstrap/rebirth.scm
index b6b2d7c..9f81d76 100644
--- a/build-aux/bootstrap/rebirth.scm
+++ b/build-aux/bootstrap/rebirth.scm
@@ -492,7 +492,7 @@
"\n})(Object.create(_env));}"
(if named?
(string-append ";_env." id " = " id
- ";_env.root." id " = " id)
+ ";_env.root." id " = " id ";")
""))))
;; Immediately evaluate to make available to macros during
;; compilation. See procedure notes above.