[ic] "nested elsif problem" still exists in 5.0

Kevin Walsh kevin at cursor.biz
Thu Mar 11 18:30:22 EST 2004


> I submitted a description of a bug I had noticed in
> 4.9.3 involving nested elsifs which I think I remember
> Ed LaFrance verifying at the time.  The WHATSNEW file lists:
> 
> * Fix nested [elsif] problem.
> 
> under the 4.9.9 section, but I have just upgraded to
> 5.0 and the bug still exists.  It can be demonstrated this way:
> 
> [tmp test]2[/tmp]
> [if scratch test == 1]
> INCORRECT
> [elsif scratch test == 2]
> 	[if test == 1]
> INCORRECT
> 	[elsif test == 2]
> CORRECT
> 	[/elsif]
> 	[/if]
> [/elsif]
> [/if]
> 
> That code should return "CORRECT", but instead returns "INCORRECT".
> 
[if test == 1]
  ^^^
  You're missing a scratch there.

-- 
   _/   _/  _/_/_/_/  _/    _/  _/_/_/  _/    _/
  _/_/_/   _/_/      _/    _/    _/    _/_/  _/   K e v i n   W a l s h
 _/ _/    _/          _/ _/     _/    _/  _/_/    kevin at cursor.biz
_/   _/  _/_/_/_/      _/    _/_/_/  _/    _/



More information about the interchange-users mailing list