[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Suggestion: strip indentation for long string constructor
- From: "Stuart P.Bentley" <stuart@...>
- Date: Sun, 16 Aug 2009 03:33:28 -0700
It would be nice if Lua supported some form of indentation in the long
string constructor (similar to
http://en.wikipedia.org/wiki/YAML#Indented_delimiting), so that a table of
multiple long strings could indent them, as seen below:
example={
deep={
deeper={
string=
[[
This string starts with 6 spaces!
And there's another six after that newline!
Does that look right to you?]]
}
}
}