aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorFábio Santos <fabiosantosart@gmail.com>2015-10-20 19:48:56 +0100
committerFábio Santos <fabiosantosart@gmail.com>2015-10-20 19:48:56 +0100
commitb5623b19d499748d0b1cf97204180f9d4d2fc4a1 (patch)
treed38ac41a03d5b340d5efb6190e571dfc4c8f937e /lib
parent6b2861e0861968f1f7acae5cf964cc0e6244b0be (diff)
downloadtracifyjs-b5623b19d499748d0b1cf97204180f9d4d2fc4a1.tar.gz
tracifyjs-b5623b19d499748d0b1cf97204180f9d4d2fc4a1.zip
Fix #836
Diffstat (limited to 'lib')
-rw-r--r--lib/output.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/output.js b/lib/output.js
index 933a4ce7..7d1e5dbb 100644
--- a/lib/output.js
+++ b/lib/output.js
@@ -1352,6 +1352,12 @@ function OutputStream(options) {
DEFMAP(AST_Finally, basic_sourcemap_gen);
DEFMAP(AST_Definitions, basic_sourcemap_gen);
DEFMAP(AST_Constant, basic_sourcemap_gen);
+ DEFMAP(AST_ObjectSetter, function(self, output){
+ output.add_mapping(self.start, self.key.name);
+ });
+ DEFMAP(AST_ObjectGetter, function(self, output){
+ output.add_mapping(self.start, self.key.name);
+ });
DEFMAP(AST_ObjectProperty, function(self, output){
output.add_mapping(self.start, self.key);
});