Revision: 10953 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=10953&view=rev Author: druzus Date: 2009-04-29 12:42:13 +0000 (Wed, 29 Apr 2009)
Log Message: ----------- 2009-04-29 14:50 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbexprb.c ! modified := optimization to keep alive original LValue name used in the assign expression. It fixes FOR / NEXT loops which in which such optimized expression were used, f.e.: FOR n := n + 1 TO 10; ? n; next In fact it's only workaround for potentially bigger problem with multiple references to single expression which we probably have to resolve if we extend the compiler to not generate PCODE online for each compiled statement but only after preprocessing and optimizing at least whole function or procedure. Modified Paths: -------------- trunk/harbour/ChangeLog trunk/harbour/include/hbexprb.c This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. _______________________________________________ Harbour mailing list Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour