1
0
Fork 0
mirror of https://github.com/notwa/lips synced 2024-11-14 14:39:04 -08:00

remove defunct comments

This commit is contained in:
Connor Olding 2016-11-27 19:59:38 -08:00
parent 437b816f85
commit 3c1cbf0901

View file

@ -118,7 +118,6 @@ function Preproc:process(statements)
-- first pass: resolve variables and collect relative labels
local new_statements = {}
for s in self:iter(statements) do
-- directive, label, etc.
if s.type == '!VAR' then
local a = self:check(s, 1, 'VAR')
local b = self:check(s, 2, 'NUM')
@ -141,7 +140,6 @@ function Preproc:process(statements)
end
insert(new_statements, s)
else
-- regular instruction
for j, t in ipairs(s) do
self:lookup(t)
end