summaryrefslogtreecommitdiff
path: root/modules/parsers/nasm/nasm-std.mac
diff options
context:
space:
mode:
Diffstat (limited to 'modules/parsers/nasm/nasm-std.mac')
-rw-r--r--modules/parsers/nasm/nasm-std.mac6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/parsers/nasm/nasm-std.mac b/modules/parsers/nasm/nasm-std.mac
index 3c9223ab..bb6e5c4e 100644
--- a/modules/parsers/nasm/nasm-std.mac
+++ b/modules/parsers/nasm/nasm-std.mac
@@ -25,14 +25,14 @@
__SECT__
%endmacro
-%imacro struc 1.nolist
+%imacro struc 1-2.nolist 0
%push struc
%define %$strucname %1
-[absolute 0]
+[absolute %2]
%$strucname: ; allow definition of `.member' to work sanely
%endmacro
%imacro endstruc 0.nolist
-%{$strucname}_size:
+%{$strucname}_size EQU $ - %$strucname
%pop
__SECT__
%endmacro