diff options
author | aclement <aclement> | 2011-09-08 15:37:07 +0000 |
---|---|---|
committer | aclement <aclement> | 2011-09-08 15:37:07 +0000 |
commit | 950868d6c436e2ba44dab96be5b32aa9ead7fc1c (patch) | |
tree | 91204f78ba93a958270d0f2cfb47235dc49931c5 /org.aspectj.matcher | |
parent | 034b211f7ff93068a8a810b7868f285de486b59e (diff) | |
download | aspectj-950868d6c436e2ba44dab96be5b32aa9ead7fc1c.tar.gz aspectj-950868d6c436e2ba44dab96be5b32aa9ead7fc1c.zip |
357012, 357013, 357019
Diffstat (limited to 'org.aspectj.matcher')
-rw-r--r-- | org.aspectj.matcher/src/org/aspectj/weaver/patterns/PatternParser.java | 3 |
1 files changed, 3 insertions, 0 deletions
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() == "(") { |