diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2021-07-02 06:56:37 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2021-07-02 06:56:37 -0700 |
commit | 12dd6ad4faf1b3f08c75b2f4e1195b391a69d6a6 (patch) | |
tree | 988d088c306800ff74cac4f52920d6c48a3ee273 | |
parent | 36a290811c0c4a29cfb1c8ae6ea9b1cf5339e49a (diff) | |
download | txr-12dd6ad4faf1b3f08c75b2f4e1195b391a69d6a6.tar.gz txr-12dd6ad4faf1b3f08c75b2f4e1195b391a69d6a6.tar.bz2 txr-12dd6ad4faf1b3f08c75b2f4e1195b391a69d6a6.zip |
tree: expose missing tnodep.
* tree.c (tree_init): Register tnodep as intrinsic function.
This is documented! Another discrepancy found thanks to the
new piece of code in genman.txr.
-rw-r--r-- | tree.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -980,6 +980,7 @@ void tree_init(void) reg_fun(intern(lit("set-right"), user_package), func_n2(set_right)); reg_fun(intern(lit("set-key"), user_package), func_n2(set_key)); reg_fun(intern(lit("copy-tnode"), user_package), func_n1(copy_tnode)); + reg_fun(intern(lit("tnodep"), user_package), func_n1(tnodep)); reg_fun(tree_s, func_n4o(tree, 0)); reg_fun(tree_construct_s, func_n2(tree_construct)); reg_fun(intern(lit("copy-search-tree"), user_package), func_n1(copy_search_tree)); |