]> source.dussan.org Git - aspectj.git/commitdiff
Fix for 128699 - message. From Ramnivas.
authoraclement <aclement>
Mon, 20 Feb 2006 19:32:59 +0000 (19:32 +0000)
committeraclement <aclement>
Mon, 20 Feb 2006 19:32:59 +0000 (19:32 +0000)
weaver/src/org/aspectj/weaver/patterns/PatternParser.java

index e37663d3d380fba1a5bcbfa8a83580a72da688ca..109cc007e0186ab4c0a767932aabf41018e94b16 100644 (file)
@@ -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();