aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorGravatar Peter McGoron 2025-03-06 14:32:48 -0500
committerGravatar Peter McGoron 2025-03-06 14:32:48 -0500
commit6763215c2c4bbfb3cae3273864be58bcc70ddac9 (patch)
tree0267af0462bf0553bb42158761ec30394e4fc6a8 /lib
parenttest overrides (diff)
better flags handling
Diffstat (limited to 'lib')
-rw-r--r--lib/SAHP.scm6
-rw-r--r--lib/SAHP/internal-common.scm2
2 files changed, 4 insertions, 4 deletions
diff --git a/lib/SAHP.scm b/lib/SAHP.scm
index 1d17e45..125afb6 100644
--- a/lib/SAHP.scm
+++ b/lib/SAHP.scm
@@ -21,7 +21,7 @@
(define set-global-SAHP!
(case-lambda
((SAHP type procedure)
- (set-global-SAHP! SAHP type #f procedure))
+ (set-global-SAHP! SAHP type '() procedure))
((SAHP type flag procedure)
(%SAHP-set (SAHP-global-scope (extract-SAHP-descriptor SAHP))
(list (list type flag procedure))))))
@@ -43,7 +43,7 @@
(define-syntax parameterize-SAHP
(syntax-rules ()
((_ ((SAHP (type value) ...) ...) body ...)
- (parameterize-SAHP ((SAHP (type #f value) ...) ...) body ...))
+ (parameterize-SAHP ((SAHP (type '() value) ...) ...) body ...))
((_ ((SAHP (type flag value) ...) ...) body ...)
(let ((param (SAHP-dynamic-scope-parameter (extract-SAHP-descriptor
SAHP)))
@@ -57,7 +57,7 @@
(define-syntax letrec-SAHP
(syntax-rules ()
((_ ((SAHP (type value) ...) ...) body ...)
- (letrec-SAHP ((SAHP (type #f value) ...) ...) body ...))
+ (letrec-SAHP ((SAHP (type '() value) ...) ...) body ...))
((_ ((SAHP (type flag value) ...) ...) body ...)
(let ((%SAHP (extract-SAHP-descriptor SAHP)) ...)
(letrec ((SAHP (%SAHP/local-scope
diff --git a/lib/SAHP/internal-common.scm b/lib/SAHP/internal-common.scm
index c40be51..3bb0543 100644
--- a/lib/SAHP/internal-common.scm
+++ b/lib/SAHP/internal-common.scm
@@ -43,7 +43,7 @@
(flag SAHP-entry-flag))
(define (entry-overridable? entry)
- (eq? (SAHP-entry-flag entry) 'overridable))
+ (member 'overridable (SAHP-entry-flag entry)))
(define (SAHP=? sahp1 sahp2)
(eq? (SAHP-global-scope (extract-SAHP-descriptor sahp1))
500 2015-10-02gb.hpp - Bug FixesGravatar Ginger Bill 3-38/+50 2015-09-30gb.hpp - Matrix(2,3)Gravatar gingerBill 2-29/+421 2015-09-29Update README.mdGravatar gingerBill 1-1/+1 2015-09-29gb.hpp - Fix BugsGravatar gingerBill 2-41/+111 2015-09-29gb_string.h - Fix typos and errorsGravatar gingerBill 1-5/+6 2015-09-28Os spec ideasGravatar gingerBill 1-29/+126 2015-09-28gb.hpp - Transform Type and Quaternion FunctionsGravatar gingerBill 1-27/+205 2015-09-28gb.hpp - StringGravatar gingerBill 1-37/+647 2015-09-28gb.hpp - Time functionsGravatar gingerBill 1-481/+765 2015-09-27gb.hpp - Hash Table SupportGravatar gingerBill 2-137/+592 2015-09-27Add experimental gb.hppGravatar gingerBill 2-4/+2257 2015-09-27Fix Silly MistakesGravatar gingerBill 2-150/+151 2015-09-27Update README.mdGravatar gingerBill 1-1/+2 2015-09-27Add extern "C" if compiling as C++Gravatar gingerBill 2-8/+27