Multiline strings work now, both single and triple quotes. Triple quotes also correctly escapes other quotes.

This commit is contained in:
Nathan Braswell
2015-06-19 12:06:27 -04:00
parent 30802fbcf8
commit 3a87970eb3
3 changed files with 48 additions and 1 deletions

View File

@@ -0,0 +1,18 @@
import io:*
fun main():int {
println("multi
line")
var str = "first
second
third"
println(str)
var tripQute = """
How about this?
multi line?
inner quote "
"""
println(tripQute)
return 0
}