aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authordaurnimator <quae@daurnimator.com>2017-12-10 02:35:34 +1100
committerdaurnimator <quae@daurnimator.com>2017-12-10 02:36:37 +1100
commit47090f2b534cea83d7a041a04f60381a77dae5ef (patch)
tree6f54f68e1d6bea689cf561f979f48d1bdf025deb /src
parentc1555ca82ca79a6239cb56150d8c54d34e4f391c (diff)
downloadfengari-47090f2b534cea83d7a041a04f60381a77dae5ef.tar.gz
fengari-47090f2b534cea83d7a041a04f60381a77dae5ef.tar.bz2
fengari-47090f2b534cea83d7a041a04f60381a77dae5ef.zip
src/lparser.js: Change comment to avoid accidental annotation
Diffstat (limited to 'src')
-rw-r--r--src/lparser.js2
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 */