Delete EOL blanks

master
Joachim Stolberg 2022-04-26 18:55:20 +02:00
parent 2d20bda800
commit 231facfca9
6 changed files with 7 additions and 7 deletions

View File

@ -460,7 +460,7 @@ function Asm:assembler(filename, output)
self.symbols = self.all_symbols[self.filename]
end
end
local lOut2 = {}
local ref_to_post_add
for _,tok in ipairs(output.lDebug) do

View File

@ -122,7 +122,7 @@ function vm16.assemble(pos, filename, readfile, asmdbg, debug)
end
end
end
return true, res
end

View File

@ -257,7 +257,7 @@ function BGen:gen_output()
table.insert(out, {"code", 0, "global " .. name})
end
end
for _, code in ipairs(self.options.startup_code or {}) do
table.insert(out, {"code", 0, code})
end

View File

@ -170,7 +170,7 @@ function BScan:scanner(filename)
end
table.insert(lToken, {type = T_ENDFILE, val = filename, lineno = self.lineno})
if self.nested_calls == 0 then
self.lTok = lToken
lToken = {}

View File

@ -63,7 +63,7 @@ func main() {
for(i = 0; i < max; i++) {
system(0, get_char(i));
}
return;
return;
}
]]

View File

@ -63,7 +63,7 @@ function Lut:init(obj)
self.last_lineno = math.max(self.last_lineno, lineno)
end
end
for _, item in ipairs(obj.lDebug) do
local ctype, lineno, address, ident = item[1], item[2], item[3], item[4]
self.last_used_mem_addr = math.max(self.last_used_mem_addr, address or 0)
@ -85,7 +85,7 @@ function Lut:init(obj)
address1 = address
func = ident
end
if ctype == "call" then
self.step_in[file] = self.step_in[file] or {}
self.step_in[file][lineno] = address