On 6/12/14, 9:41 PM, Nick Sabalausky wrote:
On 6/12/2014 8:36 PM, Ary Borenszweig wrote:
You normally do that by using names that the grammar doesn't allow as
valid identifiers. Then you have a counter and prepend that. This way
you never have name collisions.
And doesn't DMD *already* do a lot of that sorta thing already?
That's why it surprises me that adding such a trivial feature is not
done because it can lead to many bugs. You have a regressions test
suite. Plus it's really trivial: if there's no loop variable, just
define one automatically.