fix in struct macro for new versions of fasm

git-svn-id: svn://kolibrios.org@43 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Andrey Halyavin (halyavin) 2006-02-03 12:33:36 +00:00
parent 3985e8ead6
commit 67ea388bb8

View File

@ -14,17 +14,20 @@
macro struct name, [arg]
{
common
name@struct fix name
name@struct equ name
struc name arg {
}
macro struct_helper name
{
match xname,name
\{
virtual at 0
name name
sizeof.#name = $ - name
name equ sizeof.#name
xname xname
sizeof.#xname = $ - xname
name equ sizeof.#xname
end virtual
\}
}
ends fix } struct_helper name@struct