From 4b8af13e78756b97a9bb2227a368526105b8d698 Mon Sep 17 00:00:00 2001 From: Connor Olding Date: Sat, 2 Apr 2016 08:05:05 -0700 Subject: [PATCH] fix align directive with arguments --- lips/Parser.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lips/Parser.lua b/lips/Parser.lua index e16e933..eaf1f92 100644 --- a/lips/Parser.lua +++ b/lips/Parser.lua @@ -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