diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2018-03-12 19:56:29 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2018-03-12 19:56:29 -0700 |
commit | c9d60bd84e0a77407b0f88326268c92aaeebd9d2 (patch) | |
tree | 0e3ae6fff7d160c31d238600bc2f4dcb08503d91 /genvmop.txr | |
parent | 8678e098fca4132ce158d4a5ab82d0091d0568b2 (diff) | |
download | txr-c9d60bd84e0a77407b0f88326268c92aaeebd9d2.tar.gz txr-c9d60bd84e0a77407b0f88326268c92aaeebd9d2.tar.bz2 txr-c9d60bd84e0a77407b0f88326268c92aaeebd9d2.zip |
genvmop: fix broken script.
This broke when I moved asm.tl into the library directory
and set it up for auto-load.
* genvmop.txr: We must not include "asm" any more.
But then there is no auto-load on any other feature of the
assembler other than the class name. The @(mdo)
directive comes in handy; at expansion time we can trigger
auto-load by doing a lookup on the sys:assembler
struct name.
Diffstat (limited to 'genvmop.txr')
-rw-r--r-- | genvmop.txr | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/genvmop.txr b/genvmop.txr index 31c6062a..3149e4b8 100644 --- a/genvmop.txr +++ b/genvmop.txr @@ -1,5 +1,5 @@ -@(include "asm") @(in-package :sys) +@(mdo (find-struct-type 'assembler)) @(bind oc @(keep-if .code %oc-list%)) @(next "vm.h") @(collect) |