mirror of
https://github.com/google/blockly.git
synced 2026-01-08 01:20:12 +01:00
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:
@@ -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,' +
|
||||
|
||||
Reference in New Issue
Block a user