SPICE-0028: Add support for multi-line string line continuations (#1507)

SPICE: https://github.com/apple/pkl-evolution/pull/31
This commit is contained in:
Jen Basch
2026-04-21 10:29:52 -07:00
committed by GitHub
parent d85f06be27
commit e07abb7311
24 changed files with 185 additions and 10 deletions
@@ -48,6 +48,26 @@ quux {
"""
}
// line continuations
corge {
"""
hello \
world
"""
#"""
hello \#
world
"""#
"""
hello \
\
world
"""
}
obj {
data {
["bar"] = """
@@ -52,6 +52,25 @@ quux {
"""
}
// line continuations
corge {
"""
hello \
world
"""
#"""
hello \#
world
"""#
"""
hello \
\
world
"""
}
obj {
data {
["bar"] =