[Libre-soc-bugs] [Bug 1094] insndb instruction database visitor-walker is needed
bugzilla-daemon at libre-soc.org
bugzilla-daemon at libre-soc.org
Thu Jun 8 21:41:07 BST 2023
https://bugs.libre-soc.org/show_bug.cgi?id=1094
--- Comment #66 from Luke Kenneth Casson Leighton <lkcl at lkcl.net> ---
(In reply to Luke Kenneth Casson Leighton from comment #65)
> (In reply to Dmitry Selyutin from comment #60)
>
> > @contextlib.contextmanager
> > def Record(self, node):
> > if node.name == self.__name:
> > self.__records.add(node)
> > ---> yield node <---- REMOVE THIS
>
> "yield Node" should be removed, and then the walking *which is now entirely
> decoupled* uses walk() from ast.py, and it becomes:
nope, scratch that: worked it out
https://libre-soc.org/irclog/%23libre-soc.2023-06-08.log.html#t2023-06-08T12:39:16
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the libre-soc-bugs
mailing list