projects
/
app.Builder.js
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
da3a0c4
)
tests/TreeBuilder.vala
author
Alan Knowles
<alan@roojs.com>
Thu, 25 Sep 2014 11:46:46 +0000
(19:46 +0800)
committer
Alan Knowles
<alan@roojs.com>
Thu, 25 Sep 2014 11:46:46 +0000
(19:46 +0800)
tests/TreeBuilder.vala
patch
|
blob
|
history
diff --git
a/tests/TreeBuilder.vala
b/tests/TreeBuilder.vala
index
ca414ea
..
132ce77
100644
(file)
--- a/
tests/TreeBuilder.vala
+++ b/
tests/TreeBuilder.vala
@@
-14,7
+14,17
@@
public class MyReport : Vala.Report {
}
}
-
+ public override void err (Vala.SourceReference? source, string message) {
+ errors++;
+ if (source == null) {
+ stderr.printf ("My error: %s\n", message);
+ } else {
+ stderr.printf ("%s: My error: %s\n", source.to_string (), message);
+
+ //Vala.Report.report_source (source);
+
+ }
+ }
}