Advertisement

for -loop with empty expression not executed

Started by April 09, 2012 12:52 PM
1 comment, last by WitchLord 12 years, 7 months ago
Hi,

Just upgraded to the latest revision 1264 and noticed that for(;;) is not executed anymore, is there a reason for this?
Adding an always-true expression (like for(; true;)) seems to be working though. Not a big deal I guess, but I've got for(x;;)'s all over the place smile.png.
This must be a bug that worked itself into the code when I changed the way the for-loop is generated to avoid one of the jumps in each iteration.

I'll look into this and provide a fix as soon as possible.

Regards,
Andreas

AngelCode.com - game development and more - Reference DB - game developer references
AngelScript - free scripting library - BMFont - free bitmap font generator - Tower - free puzzle game

Advertisement
This problem has been fixed in revision 1265 now.

Thanks for the spotting this problem.

AngelCode.com - game development and more - Reference DB - game developer references
AngelScript - free scripting library - BMFont - free bitmap font generator - Tower - free puzzle game

This topic is closed to new replies.

Advertisement