From b4f81895de2164b4f362c3050b74a45c1f5069e2 Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20V=C3=A1zquez?= Date: Fri, 3 May 2013 11:41:31 +0100 Subject: [PATCH] Fix several newly introduced bugs in the migration to mutable strings --- jscl.html | 8 ++++---- src/boot.lisp | 2 +- src/compiler.lisp | 14 +++++++------- src/prelude.js | 1 + src/toplevel.lisp | 2 +- tests/eval.lisp | 6 ++++-- 6 files changed, 18 insertions(+), 15 deletions(-) diff --git a/jscl.html b/jscl.html index 1dfe7fc..0fde9fc 100644 --- a/jscl.html +++ b/jscl.html @@ -71,26 +71,26 @@ jqconsole.RegisterMatching('(', ')', 'parents'); lisp.write = function(str){ - jqconsole.Write(str, 'jqconsole-output', false); + jqconsole.Write(xstring(str), 'jqconsole-output', false); return str; } var startPrompt = function () { // Start the prompt with history enabled. - jqconsole.Write(lisp.evalString(pv, 1, make_lisp_string('(CL:PACKAGE-NAME CL:*PACKAGE*)')) + '> ', 'jqconsole-prompt'); + jqconsole.Write(xstring(lisp.evalString(pv, 1, make_lisp_string('(CL:PACKAGE-NAME CL:*PACKAGE*)'))) + '> ', 'jqconsole-prompt'); jqconsole.Prompt(true, function (input) { // Output input with the class jqconsole-return. if (input[0] != ','){ try { var vs = lisp.evalInput(mv, 1, make_lisp_string(input)); for (var i=0; i>>") + (test (= (eval '(+ 1 2)) 3)) -- 1.7.10.4