summaryrefslogtreecommitdiffstats
path: root/weaver/testsrc
diff options
context:
space:
mode:
authoracolyer <acolyer>2005-04-25 16:07:25 +0000
committeracolyer <acolyer>2005-04-25 16:07:25 +0000
commit75c1c3ea4d4cc5308cf3ba4490d18b8536b08dd2 (patch)
treed06e4c67eae3c9879eebabc6854ecf40817181d4 /weaver/testsrc
parent92fce1440c9017376efaf544802d8cef07546b03 (diff)
downloadaspectj-75c1c3ea4d4cc5308cf3ba4490d18b8536b08dd2.tar.gz
aspectj-75c1c3ea4d4cc5308cf3ba4490d18b8536b08dd2.zip
support in ajc for parsing and error reporting of @AspectJ style aspect definitions (aspect, pointcut, advice only at this point). Also include the AddAtAspectJAnnotationsVisitor support. Switch off using -Xdev:NoAtAspectJProcessing.
Diffstat (limited to 'weaver/testsrc')
-rw-r--r--weaver/testsrc/org/aspectj/weaver/patterns/NamePatternParserTestCase.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/weaver/testsrc/org/aspectj/weaver/patterns/NamePatternParserTestCase.java b/weaver/testsrc/org/aspectj/weaver/patterns/NamePatternParserTestCase.java
index b43526586..cd646b122 100644
--- a/weaver/testsrc/org/aspectj/weaver/patterns/NamePatternParserTestCase.java
+++ b/weaver/testsrc/org/aspectj/weaver/patterns/NamePatternParserTestCase.java
@@ -51,7 +51,7 @@ public class NamePatternParserTestCase extends TestCase {
private void checkMatch(String[] patterns) {
for (int i=0, len=patterns.length; i < len; i++) {
String pattern = patterns[i];
- ITokenSource tokenSource = BasicTokenSource.makeTokenSource(pattern);
+ ITokenSource tokenSource = BasicTokenSource.makeTokenSource(pattern,null);
NamePattern p1 = new PatternParser(tokenSource).parseNamePattern();
NamePattern p2 = new NamePattern(pattern);
assertEquals("pattern: " + pattern, p2, p1);