[AST_Hole] the print function can be a no-op.
authorMihai Bazon <mihai@bazon.net>
Thu, 17 Jan 2013 09:16:55 +0000 (11:16 +0200)
committerMihai Bazon <mihai@bazon.net>
Thu, 17 Jan 2013 09:36:10 +0000 (11:36 +0200)
lib/output.js

index 5da27e7..cafb28f 100644 (file)
@@ -1035,9 +1035,7 @@ function OutputStream(options) {
     DEFPRINT(AST_Undefined, function(self, output){
         output.print("void 0");
     });
-    DEFPRINT(AST_Hole, function(self, output){
-        output.print("");
-    });
+    DEFPRINT(AST_Hole, noop);
     DEFPRINT(AST_Infinity, function(self, output){
         output.print("1/0");
     });