mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
avoid StringLiteralLexer to skip content after quote if the quote is not the last one
This commit is contained in:
@@ -231,7 +231,7 @@ public class StringLiteralLexer extends LexerBase {
|
||||
// return i;
|
||||
//}
|
||||
if (myState == AFTER_FIRST_QUOTE && myBuffer.charAt(i) == myQuoteChar) {
|
||||
myState = AFTER_LAST_QUOTE;
|
||||
if (i + 1 == myBufferEnd) myState = AFTER_LAST_QUOTE;
|
||||
return i + 1;
|
||||
}
|
||||
i++;
|
||||
|
||||
Reference in New Issue
Block a user