diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2022-10-27 19:58:33 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2022-10-27 19:58:33 -0700 |
commit | 80623a3c5ab1e1c645cdaafa2e1716cb0dcb3b60 (patch) | |
tree | 91f96a16eb91330c520f4837ebf1f0203615c1e7 /cadr.c | |
parent | e6eb95aaecce20c3a8883022de6e300ac15cdd4f (diff) | |
download | txr-80623a3c5ab1e1c645cdaafa2e1716cb0dcb3b60.tar.gz txr-80623a3c5ab1e1c645cdaafa2e1716cb0dcb3b60.tar.bz2 txr-80623a3c5ab1e1c645cdaafa2e1716cb0dcb3b60.zip |
command line: set self-path for --compile.
I noticed that when compiling a TXR Lisp program which
refers to self-path using the --compile option, the
compiler complained about self-path being unbound.
* txr.c (self_path_s): New global variable.
(do_compile_opt): Prior to running compile-update-file,
bind self-path to the source path.
(txr_main): Don't define local self_path_s, but initialize
the global one. Replace redundant re-intering of self-path
with a reference to self_path_s.
* txr.1: self-path documentation updated.
Diffstat (limited to 'cadr.c')
0 files changed, 0 insertions, 0 deletions