~ chicken-core (chicken-5) 5fae080cc68d6fe0fe295aaaeb729a90701b9a18
commit 5fae080cc68d6fe0fe295aaaeb729a90701b9a18 Author: Evan Hanson <evhan@foldling.org> AuthorDate: Fri Jan 15 17:41:16 2016 +1300 Commit: Evan Hanson <evhan@foldling.org> CommitDate: Tue Mar 8 22:52:33 2016 +1300 Rename the "import-only" extension flag to "syntax-only" diff --git a/eval.scm b/eval.scm index 97b98e8c..ece92a00 100644 --- a/eval.scm +++ b/eval.scm @@ -1304,7 +1304,7 @@ ((extension-information/internal id 'require) => (lambda (info) (let ((s (assq 'syntax info)) - (nr (assq 'import-only info)) + (nr (assq 'syntax-only info)) (rr (assq 'require-at-runtime info))) (values `(##core#begin diff --git a/manual/Extensions b/manual/Extensions index 37737ca7..bca85029 100644 --- a/manual/Extensions +++ b/manual/Extensions @@ -123,12 +123,12 @@ as a file containing macros to be loaded at compile/macro-expansion time. Specifies extensions that should be loaded (via {{require}}) at runtime. This is mostly useful for syntax extensions that need additional support code at runtime. -===== import-only +===== syntax-only - [extension property] (import-only) + [extension property] (syntax-only) -Specifies that this extension only provides a expansion-time code in an import library and -does not require code to be loaded at runtime. +Specifies that this extension only provides a expansion-time code in an +import library and does not require code to be loaded at runtime. ===== versionTrap