summaryrefslogtreecommitdiff
path: root/js/Misc/generic_block.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/Misc/generic_block.js')
-rw-r--r--js/Misc/generic_block.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/js/Misc/generic_block.js b/js/Misc/generic_block.js
index 01ccc1b0..84c6ae5e 100644
--- a/js/Misc/generic_block.js
+++ b/js/Misc/generic_block.js
@@ -62,11 +62,10 @@ function generic_block() {
this.auto0 = arguments[0]["auto0"];
this.depu = parseBoolean(arguments[0]["depu"]);
this.dept = parseBoolean(arguments[0]["dept"]);
- this.lab = arguments[0]["lab"];
if (!ok) {
break;
}
- var label = this.lab;
+ var label = lab;
this.function_name = stripblanks(this.function_name);
this.xx = this.xx.slice();
this.z = this.z.slice();