]> source.dussan.org Git - aspectj.git/commitdiff
357012, 357013, 357019
authoraclement <aclement>
Thu, 8 Sep 2011 15:37:07 +0000 (15:37 +0000)
committeraclement <aclement>
Thu, 8 Sep 2011 15:37:07 +0000 (15:37 +0000)
org.aspectj.matcher/src/org/aspectj/weaver/patterns/PatternParser.java

index 321f1e759b4c04abdbbb06bd7824c7cbbc00eadd..6bcb4ce4aa8c2bc3b06659b3fd96d2c8ab4ec5b1 100644 (file)
@@ -1332,6 +1332,9 @@ public class PatternParser {
                        if (tok.getString() == "," && depth == 0) {
                                break;
                        }
+                       if (tok == IToken.EOF) {
+                               throw new ParserException("eof", tokenSource.peek());
+                       }
 
                        // keep track of nested brackets
                        if (tok.getString() == "(") {