diff options
1 files changed, 1 insertions, 1 deletions
| -rw-r--r-- | JSImpl/src/ASTPrinter.cpp | 2 |
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; \ |
