* statement.cs (For.Emit): for infinite loops (test == null)
return whether there is a break inside, not always "true".
svn path=/trunk/mcs/; revision=7315
2002-09-08 Miguel de Icaza <miguel@ximian.com>
+ * statement.cs (For.Emit): for infinite loops (test == null)
+ return whether there is a break inside, not always "true".
+
* namespace.cs (UsingEntry): New struct to hold the name of the
using definition, the location where it is defined, and whether it
has been used in a successful type lookup.
ec.LoopBeginTryCatchLevel = old_loop_begin_try_catch_level;
//
- // Inform whether we are infinite or not
+ // Inform whether we are infinite or not
//
if (Test != null){
if (Test is BoolConstant){
}
return false;
} else
- return true;
+ return breaks == false;
}
}