]> granicus.if.org Git - yasm/commit
Support environment variables in %include along the lines of FASM:
authorPeter Johnson <peter@tortall.net>
Fri, 19 Jan 2007 08:05:17 +0000 (08:05 -0000)
committerPeter Johnson <peter@tortall.net>
Fri, 19 Jan 2007 08:05:17 +0000 (08:05 -0000)
commit7a18cdaf3ca1486c98be1e89cf79c08cd6904ef4
treeebb0e20fd498e7fbd837db31e79f961ad9d25fbc
parent99811d1cdb280ea4de3b13681402f29bc36e7f0e
Support environment variables in %include along the lines of FASM:
%include "%SOMEVAR%/subdir/file.inc"

Multiple %VAR% are supported in a single %include.
Undefined vars are not expanded.

Suggested by: Martin Mocko <vid512@gmail.com>

svn path=/trunk/yasm/; revision=1737
modules/preprocs/nasm/nasm-pp.c