Permalink
Browse files

fixed parsing in exigent_mode + embed_tokens (fixes #208)

  • Loading branch information...
1 parent 6c4a19f commit fce78303e3614fb63c454c3b1a625fd981a59534 @mishoo mishoo committed Aug 27, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/parse-js.js
View
@@ -1227,7 +1227,7 @@ function parse($TEXT, exigent_mode, embed_tokens) {
function is_assignable(expr) {
if (!exigent_mode) return true;
- switch (expr[0]) {
+ switch (expr[0]+"") {
case "dot":
case "sub":
case "new":

0 comments on commit fce7830

Please sign in to comment.