~ chicken-core (chicken-5) b0867db27efafab01a326915a17f21fcdaf827ed
commit b0867db27efafab01a326915a17f21fcdaf827ed
Author: Evan Hanson <evhan@foldling.org>
AuthorDate: Fri Apr 23 12:06:54 2021 +1200
Commit: Mario Domenech Goulart <mario@parenteses.org>
CommitDate: Mon May 17 21:07:20 2021 +0200
Quit compiling when an invalid import-Library declaration is encountered
Signed-off-by: Mario Domenech Goulart <mario@parenteses.org>
diff --git a/core.scm b/core.scm
index f624781d..a6f8d3cf 100644
--- a/core.scm
+++ b/core.scm
@@ -1719,8 +1719,7 @@
(symbol? (car il)) (string? (cadr il)))
(cons (car il) (cadr il)))
(else
- (warning
- "invalid import-library specification" il))))
+ (quit-compiling "invalid `import-library' specification: ~S" il))))
(strip-syntax (cdr spec))))))
((emit-types-file)
(unless types-output-file
Trap