From 0b0962d77111cacc8c1f1a265eb1211e7d44fea4 Mon Sep 17 00:00:00 2001 From: martin dobrev Date: Fri, 2 Nov 2018 00:14:59 +0200 Subject: Remove base class parameter from expression macro iterator. --- JSImpl/src/ASTPrinter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'JSImpl/src/ASTPrinter.cpp') diff --git a/JSImpl/src/ASTPrinter.cpp b/JSImpl/src/ASTPrinter.cpp index 3d33f0a..db7c106 100644 --- a/JSImpl/src/ASTPrinter.cpp +++ b/JSImpl/src/ASTPrinter.cpp @@ -209,7 +209,7 @@ std::ostream& operator<<(std::ostream& os, const TokenType& t) #define MEMBERS_COUNT(type, name, def) ++membersCount; #define VISIT_MEMBER(type, name, def) ++currentVisitCount; Print(os, *this, #name, e->Get##name(), currentVisitCount == membersCount); -#define GENERATE_AST_PRINTER_FUNCTION(ClassName, Base, MEMBERS_ITERATOR) \ +#define GENERATE_AST_PRINTER_FUNCTION(ClassName, MEMBERS_ITERATOR) \ void ASTPrinter::Visit(ClassName* e) \ { \ int membersCount = 0, currentVisitCount = 0; \ -- cgit v1.3.1-23-gd82d