improve readability

This commit is contained in:
theFox6 2020-04-12 16:10:23 +02:00
parent 9632f393df
commit dfad1085e7
Signed by: theFox6
GPG Key ID: C884FE8D3BCE128A
1 changed files with 2 additions and 1 deletions

View File

@ -356,7 +356,8 @@ local function store_optassign(el,pc)
if pc.optassign and el ~= "" then
if (pc.linestart and el:match(elements.names)) or
(pc.optassign and el == ".") or
(pc.optassign and pc.optassign ~= true and pc.optassign:sub(#pc.optassign) == "." and el:match(elements.names)) then
(pc.optassign and pc.optassign ~= true and
pc.optassign:sub(#pc.optassign) == "." and el:match(elements.names)) then
if pc.optassign == true then
pc.optassign = el
else