vendor/uglifyjs/lib/parse-js.js in uglifier-0.1.0 vs vendor/uglifyjs/lib/parse-js.js in uglifier-0.1.1

- old
+ new

@@ -458,12 +458,13 @@ return token("operator", grow(prefix || next())); }; var handle_slash = skip_comments ? function() { next(); + var regex_allowed = S.regex_allowed; switch (peek()) { - case "/": read_line_comment(); return next_token(); - case "*": read_multiline_comment(); return next_token(); + case "/": read_line_comment(); S.regex_allowed = regex_allowed; return next_token(); + case "*": read_multiline_comment(); S.regex_allowed = regex_allowed; return next_token(); } return S.regex_allowed ? read_regexp() : read_operator("/"); } : function() { next(); switch (peek()) {