From 0f21863d2428663a84d914b928fba56e8baa8f14 Mon Sep 17 00:00:00 2001 From: aclement Date: Wed, 11 Aug 2004 13:17:43 +0000 Subject: [PATCH] Fixed minor bug here. Lack of 'continue' meant the sequence: : "message"; was being tokenized as: token<:> token token<"> token<;> rather than token<:> token token<;> --- weaver/src/org/aspectj/weaver/patterns/BasicTokenSource.java | 1 + 1 file changed, 1 insertion(+) diff --git a/weaver/src/org/aspectj/weaver/patterns/BasicTokenSource.java b/weaver/src/org/aspectj/weaver/patterns/BasicTokenSource.java index c267116b1..5cfdc6a4a 100644 --- a/weaver/src/org/aspectj/weaver/patterns/BasicTokenSource.java +++ b/weaver/src/org/aspectj/weaver/patterns/BasicTokenSource.java @@ -124,6 +124,7 @@ public class BasicTokenSource implements ITokenSource { while (i < chars.length && !(chars[i]=='\"')) i++; i += 1; tokens.add(BasicToken.makeLiteral(new String(chars, start0+1, i-start0-2), "string", start0, i-1)); + continue; default: int start = i-1; while (i < chars.length && Character.isJavaIdentifierPart(chars[i])) { i++; } -- 2.39.5