Index: src/main.cc
===================================================================
--- src/main.cc	(revision 9fb13671f5201abdee9d86e8dcf476235dda9862)
+++ src/main.cc	(revision c8e37e0743847d35712c58ff12491fdd4544849a)
@@ -9,7 +9,7 @@
 // Author           : Peter Buhr and Rob Schluntz
 // Created On       : Fri May 15 23:12:02 2015
-// Last Modified By : Peter A. Buhr
-// Last Modified On : Mon Feb  8 21:10:16 2021
-// Update Count     : 642
+// Last Modified By : Andrew Beach
+// Last Modified On : Fri Feb 19 14:59:00 2021
+// Update Count     : 643
 //
 
@@ -104,4 +104,5 @@
 static void parse( FILE * input, LinkageSpec::Spec linkage, bool shouldExit = false );
 static void dump( list< Declaration * > & translationUnit, ostream & out = cout );
+static void dump( ast::TranslationUnit && transUnit, ostream & out = cout );
 
 static void backtrace( int start ) {					// skip first N stack frames
@@ -349,6 +350,5 @@
 			PASS( "Resolve", ResolvExpr::resolve( transUnit ) );
 			if ( exprp ) {
-				translationUnit = convert( move( transUnit ) );
-				dump( translationUnit );
+				dump( move( transUnit ) );
 				return EXIT_SUCCESS;
 			} // if
@@ -732,4 +732,9 @@
 } // dump
 
+static void dump( ast::TranslationUnit && transUnit, ostream & out ) {
+	std::list< Declaration * > translationUnit = convert( move( transUnit ) );
+	dump( translationUnit, out );
+}
+
 // Local Variables: //
 // tab-width: 4 //
