]> git.vpit.fr Git - perl/modules/Lexical-Types.git/commit
Always skip seen ops in our peep replacement rt66146
authorVincent Pit <vince@profvince.com>
Sat, 26 Feb 2011 19:18:09 +0000 (20:18 +0100)
committerVincent Pit <vince@profvince.com>
Sat, 26 Feb 2011 19:18:09 +0000 (20:18 +0100)
commita649807e15b3ab4103dbb51823950c29e7ed9fb4
tree986da8ac59ff2a4a24869c1db3f2032455b0c2db
parentf150c894e167f61657768a604642dfe052d12046
Always skip seen ops in our peep replacement

Sometimes, there are loops in the next chain as e.g. with infinite loops
like "for (;;) { ... }". We can't reuse the op_opt member because it's
almost always set after the first pass.

This fixes RT #66146.
MANIFEST
Types.xs
t/17-peep.t [new file with mode: 0644]