MIPS: Add missing opcodes to the DynASM MIPS module plus minor fixes.
Allow single dot as macro name.
This commit is contained in:
@@ -390,7 +390,7 @@ map_coreop[".macro_*"] = function(mparams)
|
||||
-- Split off and validate macro name.
|
||||
local name = remove(mparams, 1)
|
||||
if not name then werror("missing macro name") end
|
||||
if not (match(name, "^[%a_][%w_%.]*$") or match(name, "^%.[%w_%.]+$")) then
|
||||
if not (match(name, "^[%a_][%w_%.]*$") or match(name, "^%.[%w_%.]*$")) then
|
||||
wfatal("bad macro name `"..name.."'")
|
||||
end
|
||||
-- Validate macro parameter names.
|
||||
|
||||
Reference in New Issue
Block a user