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

fix backwards relative labels

This commit is contained in:
Connor Olding 2016-04-10 08:41:52 -07:00
parent a9b702114a
commit 5c91e09151

View file

@ -79,7 +79,7 @@ function Preproc:process(tokens)
if label:sub(1, 1) == '+' then
insert(plus_labels, rl)
elseif label:sub(1, 1) == '-' then
insert(minus_labels, rl)
insert(minus_labels, 1, rl)
else
error('Internal Error: unexpected token for relative label')
end