fixing constructor variable

This commit is contained in:
daarond
2015-05-19 09:16:54 -05:00
parent b797f32e80
commit 6246631240

View File

@@ -96,7 +96,7 @@ Blockly.PHP.init = function(workspace) {
if (!Blockly.PHP.variableDB_) {
Blockly.PHP.variableDB_ =
new Blockly.Names(Blockly.PHP.RESERVED_WORDS_);
new Blockly.Names(Blockly.PHP.RESERVED_WORDS_, true);
} else {
Blockly.PHP.variableDB_.reset();
}