]> source.dussan.org Git - aspectj.git/commitdiff
44365: cope with also wanting to advise a method called is
authoraclement <aclement>
Fri, 19 Mar 2010 16:14:20 +0000 (16:14 +0000)
committeraclement <aclement>
Fri, 19 Mar 2010 16:14:20 +0000 (16:14 +0000)
org.aspectj.matcher/src/org/aspectj/weaver/patterns/PatternParser.java

index 48d6c9674c5da02226b564fceafc9a134c7adfda..8aeb647203e8ffd092a8e212acb05e71e53a2cf4 100644 (file)
@@ -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());