Skip to content

Commit 9e721fb

Browse files
committed
Fix for self-bootstrapping
1 parent 992d8ff commit 9e721fb

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ language: generic
44
sudo: required
55
env:
66
global:
7-
- PREBUILT_SHEN_VERSION=3.0.2
7+
- PREBUILT_SHEN_VERSION=3.0.1
88
matrix:
99
include:
1010
- os: linux

src/compiler.shen

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
(package shen-cl [progn quote null car cdr t nil
55
numberp stringp consp funcall
66
list eq eql equal let*
7-
lisp.defun lisp.lambda lisp.
7+
lisp.defun lisp.lambda lisp.block lisp.
88
%%return return %%goto-label go
99
%%let-label block tagbody]
1010

@@ -62,6 +62,8 @@
6262
[lisp.lambda Vars Body] Scope -> [(cl lambda) Vars (compile-expression Body (append Vars Scope))]
6363
[lisp.defun Name Vars Body] _ -> [(cl defun) Name Vars (compile-expression Body Vars)]
6464
[lisp.block Name Body] Scope -> [(cl block) Name (compile-expression Body Scope)]
65+
\\ NOTE: temporary fix for self-bootstrapping
66+
[shen-cl.lisp.block Name Body] Scope -> [(cl block) Name (compile-expression Body Scope)]
6567
[lisp. Code] _ -> (if (string? Code)
6668
((protect READ-FROM-STRING) Code)
6769
(error "lisp. excepts a string, not ~A" Code))

0 commit comments

Comments
 (0)