tests/TreeBuilder.vala
authorAlan Knowles <alan@roojs.com>
Thu, 25 Sep 2014 11:20:07 +0000 (19:20 +0800)
committerAlan Knowles <alan@roojs.com>
Thu, 25 Sep 2014 11:20:07 +0000 (19:20 +0800)
tests/TreeBuilder.vala

index a3ba07e..0295226 100644 (file)
@@ -17,6 +17,7 @@ public class MyReport  : Vala.Report {
        
 
 }
+
 public class TreeBuilder : Vala.CodeVisitor {
        
        public Vala.CodeContext create_valac_tree () {
@@ -30,7 +31,7 @@ public class TreeBuilder : Vala.CodeVisitor {
                context.report.enable_warnings = true;
                context.metadata_directories = { };
                context.gir_directories = {};
-
+               context.erport = new MyReport();
                
                context.basedir = Posix.realpath (".");