diff --git a/shared/cplusplus/PrettyPrinter.cpp b/shared/cplusplus/PrettyPrinter.cpp
index ab086cb74c0c86d3b5d80302e8b99e43583b1cab..213d21a468ab767b1fbaef6fbe0b7e57c27a419b 100644
--- a/shared/cplusplus/PrettyPrinter.cpp
+++ b/shared/cplusplus/PrettyPrinter.cpp
@@ -35,7 +35,6 @@
 #include "AST.h"
 #include <iostream>
 #include <string>
-#include <assert.h>
 
 CPLUSPLUS_USE_NAMESPACE
 
@@ -385,9 +384,13 @@ bool PrettyPrinter::visit(DeclaratorIdAST *ast)
     return false;
 }
 
-bool PrettyPrinter::visit(DeclaratorListAST *)
+bool PrettyPrinter::visit(DeclaratorListAST *ast)
 {
-    assert(0);
+    for (DeclaratorListAST *it = ast; it; it = it->next) {
+        accept(it->declarator);
+        if (it->next)
+            out << ", ";
+    }
     return false;
 }