summaryrefslogtreecommitdiff
path: root/js/Misc/generic_block3.js
diff options
context:
space:
mode:
authorSunil Shetye2018-08-27 14:38:26 +0530
committerSunil Shetye2018-08-27 16:43:40 +0530
commit8e6c876e5582928ab6909cf0f3529a97f622520d (patch)
tree3ce13a7e3552486771d147aec6973ff45a6024a5 /js/Misc/generic_block3.js
parent5cffbe3aa309e242255b96fe954688c6f1380811 (diff)
downloadsci2js-8e6c876e5582928ab6909cf0f3529a97f622520d.tar.gz
sci2js-8e6c876e5582928ab6909cf0f3529a97f622520d.tar.bz2
sci2js-8e6c876e5582928ab6909cf0f3529a97f622520d.zip
ignore first and last variable by index, not value
Diffstat (limited to 'js/Misc/generic_block3.js')
-rw-r--r--js/Misc/generic_block3.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/js/Misc/generic_block3.js b/js/Misc/generic_block3.js
index 55cdf65f..be27368c 100644
--- a/js/Misc/generic_block3.js
+++ b/js/Misc/generic_block3.js
@@ -70,11 +70,10 @@ function generic_block3() {
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();