I put the following in my code and it caused FASM to report an "Out of memory" error (after taking a fairly long time to run). Once I realized that I had forgotten the backslashes before the curly braces on the inner struc definition and added them, FASM no longer reported the error. I think the lack of backslashes caused the macro processor to enter an infinite loop for some reason.
Is this a bug?
macro SP_DATA_NO_INIT ; included in 'data_no_init.asm'
{
struc SP_ITEM_DATA
{
;-- INPUT -- MUST BE INITIALIZED PRIOR TO CALLING PROCS ------
.wefwef rd 1
.qweqwe rd 1
.zxczxc rd 1
.tyutyu rd 1
;-- OUTPUT ---------------------------------------------------
.iopiop rd 1
.ertert rd 1
}
}