Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJay Arthanareeswaran2019-10-10 04:22:53 +0000
committerJay Arthanareeswaran2019-10-10 04:27:17 +0000
commitf4cbcd7c1e1db57084adc842fb18deff117a6db4 (patch)
tree44c9c3830f019787fc9e097070aafb6f960d2dec
parent0b941e3b1edba3bd19308b5043457a605fc6ed6e (diff)
downloadeclipse.jdt.core-f4cbcd7c1e1db57084adc842fb18deff117a6db4.tar.gz
eclipse.jdt.core-f4cbcd7c1e1db57084adc842fb18deff117a6db4.tar.xz
eclipse.jdt.core-f4cbcd7c1e1db57084adc842fb18deff117a6db4.zip
Bug 551657 - [13] Text block is not properly closedI20191015-1800I20191014-1800
Change-Id: I976260bbf2ca96b08f7be1aae75678dee2f9797c Signed-off-by: Jay Arthanareeswaran <jarthana@in.ibm.com>
-rw-r--r--org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/parser/Scanner.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/parser/Scanner.java b/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/parser/Scanner.java
index 73f35265e1..0c2046c9e8 100644
--- a/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/parser/Scanner.java
+++ b/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/parser/Scanner.java
@@ -2242,6 +2242,11 @@ public final void jumpOverMethodBody() {
case '\n' :
pushLineSeparator();
//$FALL-THROUGH$
+ case '\\':
+ if (this.source[this.currentPosition++] == '"') {
+ this.currentPosition++;
+ }
+ //$FALL-THROUGH$
default:
this.currentCharacter = this.source[this.currentPosition++];
continue Inner;

Back to the top