blockly-lua icon indicating copy to clipboard operation
blockly-lua copied to clipboard

Bug in repeat statement

Open tangb opened this issue 9 years ago • 0 comments

Hi

I guess a "\n" is missing at end of repeat statement in generators/lua/loops.js:

var code = 'for ' + loopVar + '= 1, ' + repeats + ' do\n' + branch + 'end'; to replace by: var code = 'for ' + loopVar + '= 1, ' + repeats + ' do\n' + branch + 'end\n';

Thx

tangb avatar Mar 16 '15 16:03 tangb