Index: third_party/yasm/patched-yasm/modules/parsers/nasm/nasm-std.mac |
=================================================================== |
--- third_party/yasm/patched-yasm/modules/parsers/nasm/nasm-std.mac (revision 165590) |
+++ third_party/yasm/patched-yasm/modules/parsers/nasm/nasm-std.mac (working copy) |
@@ -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 |