Merge 6798e1cee8 into 6ea3f7fe34
This commit is contained in:
commit
f87ae3fa65
|
|
@ -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,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user