on javac: Warnings associated with specific values in annotation parameters now 'point at' the right position, instead of at the entire annotation. (it already did so for errors).

Fixes issue #11
This commit is contained in:
Reinier Zwitserloot committed 2009-07-27 11:07:16 +02:00
1 parent 8fbcf8ffe4
commit cf2ce698dc
1 file changed
+3
+3
View File
@@ -116,6 +116,9 @@ public class Javac {
@Override public void setError(String message, int valueIdx) {
node.addError(message, positions.get(valueIdx));
}
@Override public void setWarning(String message, int valueIdx) {
node.addWarning(message, positions.get(valueIdx));
}
});
}