summaryrefslogtreecommitdiffstats
path: root/weaver
diff options
context:
space:
mode:
Diffstat (limited to 'weaver')
-rw-r--r--weaver/src/org/aspectj/weaver/patterns/PatternParser.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/weaver/src/org/aspectj/weaver/patterns/PatternParser.java b/weaver/src/org/aspectj/weaver/patterns/PatternParser.java
index e37663d3d..109cc007e 100644
--- a/weaver/src/org/aspectj/weaver/patterns/PatternParser.java
+++ b/weaver/src/org/aspectj/weaver/patterns/PatternParser.java
@@ -139,7 +139,7 @@ public class PatternParser {
eat(":");
ret = parseSoft();
} else {
- throw new ParserException("expected one of error, warning, parents, soft, dominates",
+ throw new ParserException("expected one of error, warning, parents, soft, precedence, @type, @method, @constructor, @field",
tokenSource.peek(-1));
}
int endPos = tokenSource.peek(-1).getEnd();