http://codereview.appspot.com/7261/diff/1/2 File lily/context-def.cc (right): http://codereview.appspot.com/7261/diff/1/2#newcode215 Line 215: seen = new set<const Context_def *> (); Can ...
15 years, 5 months ago
(2008-10-08 03:40:33 UTC)
#1
15 years, 4 months ago
(2008-11-07 23:10:13 UTC)
#2
On 2008/10/08 03:40:33, hanwenn wrote:
> http://codereview.appspot.com/7261/diff/1/2
> File lily/context-def.cc (right):
>
> http://codereview.appspot.com/7261/diff/1/2#newcode215
> Line 215: seen = new set<const Context_def *> ();
> Can you make a wrapper function that does
>
> set<..> seen;
> path_to (.. , &seen)
>
> instead?
I've tried, but I'm completely stumped. :)
I barely understand how this works, so I'm a bit out of my depth unfortunately.
Are you suggesting a recursive call?
Issue 7261: * Allow for nested contexts of any depth.
(Closed)
Created 15 years, 5 months ago by Neil Puttock
Modified 14 years, 8 months ago
Reviewers: hanwenn
Base URL:
Comments: 2