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, 4 insertions, 0 deletions
diff --git a/lib/output.js b/lib/output.js
index a93f7387..602fa608 100644
--- a/lib/output.js
+++ b/lib/output.js
@@ -889,6 +889,10 @@ function OutputStream(options) {
var def = self.definition();
output.print_name(def ? def.mangled_name || def.name : self.name);
});
+ DEFPRINT(AST_Undefined, function(self, output){
+ // XXX: should add more options for this
+ output.print("void 0");
+ });
DEFPRINT(AST_This, function(self, output){
output.print("this");
});