efront 4.0.9 → 4.0.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/coms/compile/unstruct.js +2 -1
- package/package.json +1 -1
- package/public/efront.js +1 -1
package/coms/compile/unstruct.js
CHANGED
|
@@ -442,7 +442,7 @@ var isEvalScope = function (o) {
|
|
|
442
442
|
return false;
|
|
443
443
|
}
|
|
444
444
|
var _invoke = function (t, getname) {
|
|
445
|
-
var nameindex = 0
|
|
445
|
+
var nameindex = 0;
|
|
446
446
|
var getdeepname = function (deep = 0) {
|
|
447
447
|
return getname(nameindex + deep)
|
|
448
448
|
};
|
|
@@ -473,6 +473,7 @@ var _invoke = function (t, getname) {
|
|
|
473
473
|
while (cy < o.length && o[cy].type & (SPACE | COMMENT)) cy++;
|
|
474
474
|
var ay = cy;
|
|
475
475
|
cy = skipAssignment(o, cy);
|
|
476
|
+
if (cy === ay || ay >= o.length) continue;
|
|
476
477
|
var m = o[ay];
|
|
477
478
|
if (cy === ay + 1 && (m.type === EXPRESS && !/[\.\[]/.test(m.text) || m.type === VALUE || m.type === QUOTED && !m.length)) {
|
|
478
479
|
continue;
|