diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2018-04-09 21:07:32 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2018-04-09 21:07:32 -0700 |
commit | 2fad2d722da2817769d469f5c31734f4f18a3c2e (patch) | |
tree | e935a238f97009c4a899be1af4551024ae8de0bf /lisplib.c | |
parent | 4a9648030f7609fb6f3702e2225c333d4f8a8fb4 (diff) | |
download | txr-2fad2d722da2817769d469f5c31734f4f18a3c2e.tar.gz txr-2fad2d722da2817769d469f5c31734f4f18a3c2e.tar.bz2 txr-2fad2d722da2817769d469f5c31734f4f18a3c2e.zip |
compiler: implement with-compilation-unit macro.
* lisp.c (compiler_set_entries): Add with-compilation-unit to
autoload symbols for compile module.
* share/txr/stdlib/compiler.tl (usr:with-compilation-unit):
New macro.
(usr:compile-file): Use with-compilation-unit macro to
dump warnings if a file is processed alone.
* txr.1: Documented.
Diffstat (limited to 'lisplib.c')
-rw-r--r-- | lisplib.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -679,6 +679,7 @@ static val compiler_set_entries(val dlt, val fun) }; val name[] = { lit("compile-toplevel"), lit("compile-file"), lit("compile"), + lit("with-compilation-unit"), nil }; |