Move the idea of a symbol having a default value up the class chain.

This commit is contained in:
Fábio Santos
2015-11-22 19:00:54 +00:00
committed by Richard van Velzen
parent 5b553aafe2
commit 7a8cffd631
2 changed files with 10 additions and 12 deletions

View File

@@ -1288,7 +1288,7 @@ function OutputStream(options) {
DEFPRINT(AST_Symbol, function (self, output) {
self._do_print(output);
});
DEFPRINT(AST_SymbolFunarg, function(self, output){
DEFPRINT(AST_SymbolDeclaration, function(self, output){
self._do_print(output);
if (self.default) {
output.space();