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

fix align directive with arguments

This commit is contained in:
Connor Olding 2016-04-02 08:05:05 -07:00
parent 3febafef02
commit 4b8af13e78

View file

@ -29,7 +29,7 @@ function Parser:directive()
if self:is_EOL() and name == 'ALIGN' then
add(name, 0)
else
local size = self:number()
local size = self:number().tok
if self:is_EOL() then
add(name, size)
else