So more info :

when you do something like :

tag
  op0
tag
  op1
tag
tag
  op2

only one tga is created. So when reverting twice (as I did, expecting
to have an noop revert, and be back to op1), it move backward to op0,
as if the stack was :

tag
  op0
tag
  op1
tag
  op2

Shouldn't we 'name' the tags instead of using the operation number ?
ie, having something like :

tag-0
  op0
tag-1
  op1
tag-2
tag-3
  op2

so that the first 'revert' reverts tag-3, and the second 'revert'
reverts back to tag-2, leaving op1 available.

wdyt ?

-- 
Regards,
Cordialement,
Emmanuel Lécharny
www.iktek.com

Reply via email to