summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/scheme/Makefile4
-rw-r--r--src/scheme/ao_scheme_const.scheme2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/scheme/Makefile b/src/scheme/Makefile
index ea94c1c0..dc36dde1 100644
--- a/src/scheme/Makefile
+++ b/src/scheme/Makefile
@@ -5,8 +5,8 @@ clean:
+cd test && make clean
rm -f ao_scheme_const.h ao_scheme_builtin.h
-ao_scheme_const.h: ao_scheme_const.lisp make-const/ao_scheme_make_const
- make-const/ao_scheme_make_const -o $@ ao_scheme_const.lisp
+ao_scheme_const.h: ao_scheme_const.scheme make-const/ao_scheme_make_const
+ make-const/ao_scheme_make_const -o $@ ao_scheme_const.scheme
ao_scheme_builtin.h: ao_scheme_make_builtin ao_scheme_builtin.txt
nickle ao_scheme_make_builtin ao_scheme_builtin.txt > $@
diff --git a/src/scheme/ao_scheme_const.scheme b/src/scheme/ao_scheme_const.scheme
index 422bdd63..ab6a309a 100644
--- a/src/scheme/ao_scheme_const.scheme
+++ b/src/scheme/ao_scheme_const.scheme
@@ -641,7 +641,7 @@
(char-whitespace? #\space)
(define (char->integer c) c)
-(define (integer->char c) char-integer)
+(define integer->char char->integer)
(define (char-upcase c) (if (char-lower-case? c) (+ c (- #\A #\a)) c))