1
0
Fork 0
mirror of https://github.com/notwa/lips synced 2024-05-05 19:03:27 -07: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