mirror of
https://github.com/notwa/lips
synced 2024-05-05 02:43:24 -07:00
remove defunct comments
This commit is contained in:
parent
437b816f85
commit
3c1cbf0901
|
@ -118,7 +118,6 @@ function Preproc:process(statements)
|
||||||
-- first pass: resolve variables and collect relative labels
|
-- first pass: resolve variables and collect relative labels
|
||||||
local new_statements = {}
|
local new_statements = {}
|
||||||
for s in self:iter(statements) do
|
for s in self:iter(statements) do
|
||||||
-- directive, label, etc.
|
|
||||||
if s.type == '!VAR' then
|
if s.type == '!VAR' then
|
||||||
local a = self:check(s, 1, 'VAR')
|
local a = self:check(s, 1, 'VAR')
|
||||||
local b = self:check(s, 2, 'NUM')
|
local b = self:check(s, 2, 'NUM')
|
||||||
|
@ -141,7 +140,6 @@ function Preproc:process(statements)
|
||||||
end
|
end
|
||||||
insert(new_statements, s)
|
insert(new_statements, s)
|
||||||
else
|
else
|
||||||
-- regular instruction
|
|
||||||
for j, t in ipairs(s) do
|
for j, t in ipairs(s) do
|
||||||
self:lookup(t)
|
self:lookup(t)
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue
Block a user