diff options
author | acolyer <acolyer> | 2005-07-13 13:03:35 +0000 |
---|---|---|
committer | acolyer <acolyer> | 2005-07-13 13:03:35 +0000 |
commit | d3a1396362fef8107a5e3529530bc523c1c15903 (patch) | |
tree | b458fbc20c3135a088a6e2aa3f5812033923cc95 | |
parent | 1ab443592497bf1281618ee7666ac10c3b81eefa (diff) | |
download | aspectj-d3a1396362fef8107a5e3529530bc523c1c15903.tar.gz aspectj-d3a1396362fef8107a5e3529530bc523c1c15903.zip |
now remembers its location for better error reporting
-rw-r--r-- | weaver/src/org/aspectj/weaver/patterns/WildAnnotationTypePattern.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/weaver/src/org/aspectj/weaver/patterns/WildAnnotationTypePattern.java b/weaver/src/org/aspectj/weaver/patterns/WildAnnotationTypePattern.java index 124e4508f..f3c7c5ccf 100644 --- a/weaver/src/org/aspectj/weaver/patterns/WildAnnotationTypePattern.java +++ b/weaver/src/org/aspectj/weaver/patterns/WildAnnotationTypePattern.java @@ -40,6 +40,7 @@ public class WildAnnotationTypePattern extends AnnotationTypePattern { public WildAnnotationTypePattern(TypePattern typePattern) { super(); this.typePattern = typePattern; + this.setLocation(typePattern.getSourceContext(), typePattern.start, typePattern.end); } public TypePattern getTypePattern() { |