diff options
Diffstat (limited to 'lib/parse.js')
-rw-r--r-- | lib/parse.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/parse.js b/lib/parse.js index 4d37b85e..99d7ce09 100644 --- a/lib/parse.js +++ b/lib/parse.js @@ -695,6 +695,7 @@ function parse($TEXT, options) { html5_comments : true, bare_returns : false, shebang : true, + cli : false, }); var S = { @@ -1501,6 +1502,7 @@ function parse($TEXT, options) { }; function is_assignable(expr) { + if (options.cli) return true; return expr instanceof AST_PropAccess || expr instanceof AST_SymbolRef; }; |