aboutsummaryrefslogtreecommitdiff
path: root/amforth-6.5/common/lib/forth2012/search/definitions.frt
diff options
context:
space:
mode:
Diffstat (limited to 'amforth-6.5/common/lib/forth2012/search/definitions.frt')
-rw-r--r--amforth-6.5/common/lib/forth2012/search/definitions.frt8
1 files changed, 8 insertions, 0 deletions
diff --git a/amforth-6.5/common/lib/forth2012/search/definitions.frt b/amforth-6.5/common/lib/forth2012/search/definitions.frt
new file mode 100644
index 0000000..7ab89f0
--- /dev/null
+++ b/amforth-6.5/common/lib/forth2012/search/definitions.frt
@@ -0,0 +1,8 @@
+\ Make the compilation word list the same as the current first word list in the search order.
+
+\ #require get-order.frt
+
+: definitions ( -- )
+ get-order over set-current
+ 0 ?do drop loop \ clean up
+;