This commit is contained in:
Jack Allnutt 2013-08-10 06:19:32 -07:00
commit f87ae3fa65

View File

@ -62,6 +62,7 @@ function OutputStream(options) {
comments : false, comments : false,
preserve_line : false, preserve_line : false,
negate_iife : !(options && options.beautify), negate_iife : !(options && options.beautify),
warnings : true,
}, true); }, true);
var indentation = 0; var indentation = 0;
@ -285,7 +286,7 @@ function OutputStream(options) {
(!name && token.type == "name") ? token.value : name (!name && token.type == "name") ? token.value : name
); );
} catch(ex) { } catch(ex) {
AST_Node.warn("Couldn't figure out mapping for {file}:{line},{col} → {cline},{ccol} [{name}]", { if (options.warnings) AST_Node.warn("Couldn't figure out mapping for {file}:{line},{col} → {cline},{ccol} [{name}]", {
file: token.file, file: token.file,
line: token.line, line: token.line,
col: token.col, col: token.col,