From d4b37faeffe6832ad49357ea9b182f3c24854942 Mon Sep 17 00:00:00 2001 From: mtexplorative Date: Wed, 8 Nov 2023 23:06:30 +0100 Subject: [PATCH] Update LexerImpl.java Last line of a multi line string was omitted --- src/main/java/com/wn/dbml/compiler/lexer/LexerImpl.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/com/wn/dbml/compiler/lexer/LexerImpl.java b/src/main/java/com/wn/dbml/compiler/lexer/LexerImpl.java index bbe29dd..c0cb348 100644 --- a/src/main/java/com/wn/dbml/compiler/lexer/LexerImpl.java +++ b/src/main/java/com/wn/dbml/compiler/lexer/LexerImpl.java @@ -145,6 +145,7 @@ private Token nextMultiLineString(final String quote, final TokenType tokenType) sb.append((char) c); } if (lookahead.equals(quote)) { + multiLineSb.appendLine(sb.toString()); skipChars(quote.length()); break; }