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

index cad25db..8c68d49 100644 (file)
@@ -14,7 +14,11 @@ namespace Palete {
                                return;
                                //stderr.printf ("My error: %s\n", message);
                        }
                                return;
                                //stderr.printf ("My error: %s\n", message);
                        }
-                       if (source.
+                       if (source.file != "~~~~~testfile.vala") {
+                               return;
+                       }
+                       if (line_errors.has_key(source.begin.line)) {
+                               line_errors(source.begin.line
                        var line = source.begin.line;
                        
                        stderr.printf ("%s: My error: %s\n", source.to_string (), message);
                        var line = source.begin.line;
                        
                        stderr.printf ("%s: My error: %s\n", source.to_string (), message);