You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Cleaning up lunadry with lunadry itself, I got something with quite a few changes.
Doing a second attempt, there are just whitespace additions (appear to be at the end of multi-line table constructors).
diff --git a/lunadry.lua b/lunadry.lua
index 1aed887..e1ba96e 100644
--- a/lunadry.lua+++ b/lunadry.lua@@ -111,6 +111,7 @@ local function luafilter (...)
return a == b
end),
+
},
-- comments & whitespace
@@ -298,6 +299,7 @@ local function luafilter (...)
unop = (C "-" - P "--") + C "#" + C "~" + K "not" * SPACE,
+
}
if DEBUG then
@@ -307,11 +309,13 @@ local function luafilter (...)
["\n"] = "\\n",
["\t"] = "\\t",
+
}, {
__index = function (t, c)
return ("\\x%02X"):format(c:byte())
end,
+
}))
end
for k, p in pairs(lua) do
@@ -391,26 +395,31 @@ local function main (...)
"none",
"d",
+
},
{
"help",
"none",
"h",
+
},
{
"in-place",
"none",
"i",
+
},
{
"version",
"none",
LONGOPT_VERSION,
+
},
+
}
local last = 1
for r, optarg, optind, li in P.getopt(arg, short, long) do
The text was updated successfully, but these errors were encountered:
Cleaning up lunadry with lunadry itself, I got something with quite a few changes.
Doing a second attempt, there are just whitespace additions (appear to be at the end of multi-line table constructors).
The text was updated successfully, but these errors were encountered: