diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2019-10-07 06:32:50 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2019-10-07 06:32:50 -0700 |
commit | f51763c43fc9a72dfa97052c289dc2aab4272d7a (patch) | |
tree | dc4448ae57493a379e0551e46bd99f2e2ce775d6 | |
parent | 7ac6eb83224bbf3a8f686b89d09770d39fae64c9 (diff) | |
download | txr-f51763c43fc9a72dfa97052c289dc2aab4272d7a.tar.gz txr-f51763c43fc9a72dfa97052c289dc2aab4272d7a.tar.bz2 txr-f51763c43fc9a72dfa97052c289dc2aab4272d7a.zip |
circle notation: bugfix for hash_userdata.
* parser.c (circ_backpatch): Fix neglect to recurse into hash
table's userdata object to look for circle notation
references.
-rw-r--r-- | parser.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -367,6 +367,9 @@ tail: val ru = patch_ref(p, u); if (ru) set_hash_userdata(obj, ru); + else + circ_backpatch(p, &cs, u); + if (p->circ_count) { val iter = hash_begin(obj); val cell; |