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:
parent
3985e8ead6
commit
67ea388bb8
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user