Support for {$i %macro%}
Original Reporter info from Mantis: marco @marcoonthegit
-
Reporter name: Marco van de Voort
Original Reporter info from Mantis: marco @marcoonthegit
- Reporter name: Marco van de Voort
Description:
Compiler should interpret a -d&LtPos;x> with &LtPos;x> containing a = as a macro
This would make passing e.g. OS versions numerically to the compiler/source possible like
elfdump -n which elfdump
|awk '/FreeBSD/{print $2}' >elfversion
IDVERSION=cat elfversion
rm elfversion
gmake OPT="-dFREEBSD_VERSION=$IDVERSION"
and then in source
{$if FreeBSD_VERSION>701000}
dosomething;
{$ELSE}
dosomething_else;
{$endif}
Mantis conversion info:
- Mantis ID: 12935
- Version: 2.3.1
- Monitored by: » @marcoonthegit (Marco van de Voort)