From: aclement Date: Thu, 8 Sep 2011 15:37:07 +0000 (+0000) Subject: 357012, 357013, 357019 X-Git-Tag: V1_6_12~20 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=950868d6c436e2ba44dab96be5b32aa9ead7fc1c;p=aspectj.git 357012, 357013, 357019 --- diff --git a/org.aspectj.matcher/src/org/aspectj/weaver/patterns/PatternParser.java b/org.aspectj.matcher/src/org/aspectj/weaver/patterns/PatternParser.java index 321f1e759..6bcb4ce4a 100644 --- a/org.aspectj.matcher/src/org/aspectj/weaver/patterns/PatternParser.java +++ b/org.aspectj.matcher/src/org/aspectj/weaver/patterns/PatternParser.java @@ -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() == "(") {