Thank you for fixing this. I look forward to the 1.09 release. Wally & Julie Gazdzik (retired and loving it) On Monday, September 27, 2021, 04:18:19 PM MST, Jeff Marshall <jeffmarshall@users.sourceforge.net> wrote: status: open --> closed [bugs:#939] FB_ARG_EXTRACT causes compiler abort ??? Status: closed Labels: FB_ARG_EXTRACT Error Created: Mon Sep 27, 2021 12:20 AM UTC by Wally Gazdzik Last Updated: Mon Sep 27, 2021 11:18 PM UTC Owner: nobody Up to date Windows 10. FB 1.08.1 I reduced a problem...
I do not know if this is the correct way to respond. But thank you for letting me know why the compiler aborted. Will this compiler abort be fixed to generate an error message verses aborting? I would personly vote to fix it by allowing the compiler to set args to no arguments for the macro advance(label,args) for a call of advanceadvance(lab)advance(lab,) Thank you for your consideration. Wally & Julie Gazdzik (retired and loving it) On Sunday, September 26, 2021, 11:09:54 PM MST, fxm (freebasic.net)...
__FB_ARG_EXTRACT__ causes compiler abort ???
Thank you very much. Wally On November 8, 2020, at 7:13 PM, Jeff Marshall jeffmarshall@users.sourceforge.net wrote: In fbc-1.08 can kind of do this. Not quite as nice as the proposed EQU sym expr syntax though. In this example, symbol name has to be quoted otherwise it gets replaced with the value of the symbol. EQU( "sym", expr ) macro do_undef( sym ) FB_UNQUOTE( FB_EVAL( "#undef " + sym ) ) #endmacro #macro do_define( sym, expr ) FB_UNQUOTE( FB_EVAL( "#define " + sym + " " + FB_QUOTE( expr ) )...
Additional Preprocessor command
Improvement to #macro