From 446892d11ee712839084e4599a07d8decf6b3b54 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Thu, 24 May 2018 16:13:23 -0700 Subject: Consolidating code obj code and expunging all [[..]]-style lua strings. --- utils.lua | 3 --- 1 file changed, 3 deletions(-) (limited to 'utils.lua') diff --git a/utils.lua b/utils.lua index d9d64c3..c78a0c8 100644 --- a/utils.lua +++ b/utils.lua @@ -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 -- cgit v1.2.3