aboutsummaryrefslogtreecommitdiff
path: root/dynasm/dynasm.lua
diff options
context:
space:
mode:
Diffstat (limited to 'dynasm/dynasm.lua')
-rw-r--r--dynasm/dynasm.lua9
1 files changed, 5 insertions, 4 deletions
diff --git a/dynasm/dynasm.lua b/dynasm/dynasm.lua
index a28e7b20..2a4d649e 100644
--- a/dynasm/dynasm.lua
+++ b/dynasm/dynasm.lua
@@ -10,9 +10,9 @@
10local _info = { 10local _info = {
11 name = "DynASM", 11 name = "DynASM",
12 description = "A dynamic assembler for code generation engines", 12 description = "A dynamic assembler for code generation engines",
13 version = "1.3.0", 13 version = "1.5.0",
14 vernum = 10300, 14 vernum = 10500,
15 release = "2011-05-05", 15 release = "2021-05-02",
16 author = "Mike Pall", 16 author = "Mike Pall",
17 url = "https://luajit.org/dynasm.html", 17 url = "https://luajit.org/dynasm.html",
18 license = "MIT", 18 license = "MIT",
@@ -75,7 +75,7 @@ local function wline(line, needindent)
75 g_synclineno = g_synclineno + 1 75 g_synclineno = g_synclineno + 1
76end 76end
77 77
78-- Write assembler line as a comment, if requestd. 78-- Write assembler line as a comment, if requested.
79local function wcomment(aline) 79local function wcomment(aline)
80 if g_opt.comment then 80 if g_opt.comment then
81 wline(g_opt.comment..aline..g_opt.endcomment, true) 81 wline(g_opt.comment..aline..g_opt.endcomment, true)
@@ -630,6 +630,7 @@ end
630-- Load architecture-specific module. 630-- Load architecture-specific module.
631local function loadarch(arch) 631local function loadarch(arch)
632 if not match(arch, "^[%w_]+$") then return "bad arch name" end 632 if not match(arch, "^[%w_]+$") then return "bad arch name" end
633 _G._map_def = map_def
633 local ok, m_arch = pcall(require, "dasm_"..arch) 634 local ok, m_arch = pcall(require, "dasm_"..arch)
634 if not ok then return "cannot load module: "..m_arch end 635 if not ok then return "cannot load module: "..m_arch end
635 g_arch = m_arch 636 g_arch = m_arch