develooper Front page | perl.perl6.internals | Postings from February 2006

Allowing push/pop across sub calls

Thread Next
From:
Bob Rogers
Date:
February 22, 2006 18:52
Subject:
Allowing push/pop across sub calls
Message ID:
17405.9074.236003.662125@rgrjr.dyndns.org
   The good news is that the attached patch makes this work.  The bad
news is that it also breaks PGE, albeit in a small way.  Six of the
"<after>" tests (mostly, but not exclusively, involving "<!after>") in
t/compilers/pge/p6rules/builtins.t seem to go into an infinite loop.  I
have been unable to figure this out, so I'm hoping it will be easy for
someone who understands PGE.  (Maybe there's something in PGE that
assumes that returning from a sub restores the state of the user stack?)
When (and if) that happens, we can decide whether this patch is worth
doing.  TIA,

					-- Bob Rogers
					   http://rgrjr.dyndns.org/



Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About