NASM - The Netwide Assembler

NASM Forum => Programming with NASM => Topic started by: Rob Neff on August 03, 2010, 10:27:42 PM

Title: Bug fix much appreciated!
Post by: Rob Neff on August 03, 2010, 10:27:42 PM
I can't get to repo.or.cz git right now so...

whoever fixed the following bug in 2.09rc5 THANK YOU!

Code: [Select]
%macro test 2
   %xdefine %%tname %{$name}.%1
   %assign %%tsize %$size

   %push %2

   ; fails on 2.08.02 - macro local vars lost on context push

   %define %$name %%tname
   %assign %$size %%tsize
   %fatal name %{$name} size %{$size}
%endmacro

%push myctx
%xdefine %$name MSG
%assign %$size 42
test POINT, NEWCTX