aboutsummaryrefslogtreecommitdiff
path: root/lib/output.js
diff options
context:
space:
mode:
Diffstat (limited to 'lib/output.js')
-rw-r--r--lib/output.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/output.js b/lib/output.js
index 149fc05e..a7a580c9 100644
--- a/lib/output.js
+++ b/lib/output.js
@@ -54,7 +54,8 @@ function OutputStream(options) {
max_line_len : 32000,
ie_proof : true,
beautify : true,
- source_map : null
+ source_map : null,
+ in_source_map : null
});
var indentation = 0;
@@ -245,6 +246,7 @@ function OutputStream(options) {
var add_mapping = options.source_map ? function(token, name) {
options.source_map.add(
+ token.file,
current_line, current_col,
token.line, token.col,
(!name && token.type == "name") ? token.value : name