mirror of
https://github.com/jashkenas/coffeescript.git
synced 2026-02-19 03:44:23 -05:00
Merge branch 'master' of git://github.com/Tim-Smart/coffee-script
This commit is contained in:
@@ -908,7 +908,7 @@ ForNode: exports.ForNode: inherit Node, {
|
|||||||
if range
|
if range
|
||||||
index_var: scope.free_variable()
|
index_var: scope.free_variable()
|
||||||
source_part: source.compile_variables(o)
|
source_part: source.compile_variables(o)
|
||||||
for_part: index_var + '=0, ' + source.compile(merge(o, {index: ivar, step: @step})) + ', ' + index_var + '++'
|
for_part: index_var + ' = 0, ' + source.compile(merge(o, {index: ivar, step: @step})) + ', ' + index_var + '++'
|
||||||
else
|
else
|
||||||
index_var: null
|
index_var: null
|
||||||
source_part: svar + ' = ' + @source.compile(o) + ';\n' + @idt()
|
source_part: svar + ' = ' + @source.compile(o) + ';\n' + @idt()
|
||||||
|
|||||||
Reference in New Issue
Block a user