diff options
-rw-r--r-- | src/lparser.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lparser.js b/src/lparser.js index 2efba50..a42b5cc 100644 --- a/src/lparser.js +++ b/src/lparser.js @@ -351,7 +351,7 @@ const singlevar = function(ls, vr) { let varname = str_checkname(ls); let fs = ls.fs; singlevaraux(fs, varname, vr, 1); - if (vr.k === expkind.VVOID) { /* global name? */ + if (vr.k === expkind.VVOID) { /* is global name? */ let key = new expdesc(); singlevaraux(fs, ls.envn, vr, 1); /* get environment variable */ assert(vr.k !== expkind.VVOID); /* this one must exist */ |