Skip to content

Commit c70ec3e

Browse files
authored
Update FormatTokenLexer.cpp
1 parent def1451 commit c70ec3e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

clang/lib/Format/FormatTokenLexer.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1358,6 +1358,7 @@ FormatToken *FormatTokenLexer::getNextToken() {
13581358
StateStack.push(LexerState::TOKEN_STASHED);
13591359
} else if (Style.Language == FormatStyle::LK_Java &&
13601360
FormatTok->is(tok::string_literal)) {
1361+
tryParseJavaTextBlock();
13611362
}
13621363

13631364
if (Style.isVerilog() && Tokens.size() > 0 &&

0 commit comments

Comments
 (0)