Index: src/CodeGen/CodeGenerator.cc
===================================================================
--- src/CodeGen/CodeGenerator.cc	(revision f0ecf9bfb3ccc333894542767cb1c491f7e79993)
+++ src/CodeGen/CodeGenerator.cc	(revision 1e8bbac9370b8c548860154f7bd8bb7610ca6ea8)
@@ -1012,4 +1012,12 @@
 	}
 
+	void CodeGenerator::postvisit( WithStmt * with ) {
+		if ( ! genC ) {
+			output << "with ( ";
+			genCommaList( with->exprs.begin(), with->exprs.end() );
+			output << " ) ";
+		}
+		with->stmt->accept( *visitor );
+	}
 
 	void CodeGenerator::postvisit( WhileStmt * whileStmt ) {
Index: src/CodeGen/CodeGenerator.h
===================================================================
--- src/CodeGen/CodeGenerator.h	(revision f0ecf9bfb3ccc333894542767cb1c491f7e79993)
+++ src/CodeGen/CodeGenerator.h	(revision 1e8bbac9370b8c548860154f7bd8bb7610ca6ea8)
@@ -102,4 +102,5 @@
 		void postvisit( CatchStmt * );
 		void postvisit( WaitForStmt * );
+		void postvisit( WithStmt * );
 		void postvisit( WhileStmt * );
 		void postvisit( ForStmt * );
