diff options
Diffstat (limited to 'premake4.lua')
-rw-r--r-- | premake4.lua | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/premake4.lua b/premake4.lua index fcf4d6b..26ada57 100644 --- a/premake4.lua +++ b/premake4.lua @@ -128,8 +128,11 @@ end s = s:gsub("[\t]", "") -- strip duplicate line feeds - s = s:gsub("\n+", "\n") - + local t = s + repeat + s = t + t = s:gsub("\\n\\n", "\\n") + until s == t out:write("\t\"") out:write(s) |