diff options
| author | Bruce Hill <bitbucket@bruce-hill.com> | 2018-05-24 16:13:23 -0700 |
|---|---|---|
| committer | Bruce Hill <bitbucket@bruce-hill.com> | 2018-05-24 16:13:46 -0700 |
| commit | 446892d11ee712839084e4599a07d8decf6b3b54 (patch) | |
| tree | 7cf53ca93b179614ed8d1f390125e7ef50eb0716 /utils.lua | |
| parent | 0c07968e0716745f7b510a76e94ccf0910e4c4e7 (diff) | |
Consolidating code obj code and expunging all [[..]]-style lua strings.
Diffstat (limited to 'utils.lua')
| -rw-r--r-- | utils.lua | 3 |
1 files changed, 0 insertions, 3 deletions
@@ -49,9 +49,6 @@ local function repr(x, depth) return "{"..table.concat(ret, ", ").."}" end elseif x_type == 'string' then - if x == "\n" then - return "'\\n'" - end local escaped = x:gsub("\\", "\\\\"):gsub("\n","\\n"):gsub('"', '\\"') return '"'..escaped..'"' else |
