add line continuation for YAML tiny

main
Jörg Prante 3 years ago
parent 50ec5f5f44
commit 2af816d07b

@ -182,6 +182,11 @@ public class Lexer {
if (isBSlash()) {
read();
switch (current()) {
case EOL:
read();
skipBlanks();
stringBuilder.append(current());
break;
case '0':
stringBuilder.append('\0');
break;

@ -38,6 +38,8 @@ types:
Hello, this is
a very important message
with new lines folded into spaces
continuing: "abc\
def"
# text string is one kept literal originally (but cannot comment the value)
text: |
def func(x) do

Loading…
Cancel
Save