diff options
| -rw-r--r-- | blocks.js | 7 | ||||
| -rwxr-xr-x | history.txt | 4 |
2 files changed, 8 insertions, 3 deletions
@@ -153,7 +153,7 @@ DialogBoxMorph, BlockInputFragmentMorph, PrototypeHatBlockMorph*/ // Global stuff //////////////////////////////////////////////////////// -modules.blocks = '2013-April-19'; +modules.blocks = '2013-April-21'; var SyntaxElementMorph; var BlockMorph; @@ -628,8 +628,9 @@ SyntaxElementMorph.prototype.fixBlockColor = function ( SyntaxElementMorph.prototype.labelPart = function (spec) { var part; - if ((spec[0] === '%') && (spec.length > 1)) { - + if (spec[0] === '%' && + spec.length > 1 && + this.selector !== 'reportGetVar') { // check for variable multi-arg-slot: if ((spec.length > 5) && (spec.slice(0, 5) === '%mult')) { part = new MultiArgMorph(spec.slice(5)); diff --git a/history.txt b/history.txt index cea0d19..f8cb536 100755 --- a/history.txt +++ b/history.txt @@ -1643,3 +1643,7 @@ ______ 130419 ------ * German translation update for "scripts pic" feature + +130421 +------ +* using the percent character in variable names is now safe (fixes Github issue #65) |
