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] macro struct name, [arg]
{ {
common common
name@struct fix name name@struct equ name
struc name arg { struc name arg {
} }
macro struct_helper name macro struct_helper name
{ {
match xname,name
\{
virtual at 0 virtual at 0
name name xname xname
sizeof.#name = $ - name sizeof.#xname = $ - xname
name equ sizeof.#name name equ sizeof.#xname
end virtual end virtual
\}
} }
ends fix } struct_helper name@struct ends fix } struct_helper name@struct