aboutsummaryrefslogtreecommitdiffstats
path: root/org.aspectj.matcher
diff options
context:
space:
mode:
authoraclement <aclement>2010-03-19 16:14:20 +0000
committeraclement <aclement>2010-03-19 16:14:20 +0000
commit9f44ac1d97dbaa8d571ad6d73746c82a3fe07aae (patch)
treee0a092a1160b39ab49f0a87a457fee651ecd98b3 /org.aspectj.matcher
parent576db589a6aa911df6ce8a9cd608baacdfe631d7 (diff)
downloadaspectj-9f44ac1d97dbaa8d571ad6d73746c82a3fe07aae.tar.gz
aspectj-9f44ac1d97dbaa8d571ad6d73746c82a3fe07aae.zip
44365: cope with also wanting to advise a method called is
Diffstat (limited to 'org.aspectj.matcher')
-rw-r--r--org.aspectj.matcher/src/org/aspectj/weaver/patterns/PatternParser.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/org.aspectj.matcher/src/org/aspectj/weaver/patterns/PatternParser.java b/org.aspectj.matcher/src/org/aspectj/weaver/patterns/PatternParser.java
index 48d6c9674..8aeb64720 100644
--- a/org.aspectj.matcher/src/org/aspectj/weaver/patterns/PatternParser.java
+++ b/org.aspectj.matcher/src/org/aspectj/weaver/patterns/PatternParser.java
@@ -983,7 +983,7 @@ public class PatternParser {
}
}
if (typeIsPattern == null) {
- throw new ParserException("ClassType/AspectType/InterfaceType/InnerType/EnumType/AnnotationType/AnonymousType", token);
+ return null;
}
if (!maybeEat(")")) {
throw new ParserException(")", tokenSource.peek());