Add missing comma to Lua reserved words

This meant that variables could be called _, conflicting with use in Lua
as a dummy variable, and in particular with scrubNakedValue.
This commit is contained in:
Rodrigo Queiro
2016-03-14 15:07:30 +01:00
parent 06ff90bcaf
commit 0aec80a088

View File

@@ -45,7 +45,7 @@ Blockly.Lua = new Blockly.Generator('Lua');
*/
Blockly.Lua.addReservedWords(
// Special character
'_' +
'_,' +
// From theoriginalbit's script:
// https://github.com/espertus/blockly-lua/issues/6
'__inext,assert,bit,colors,colours,coroutine,disk,dofile,error,fs,' +