preproc: allow non-identifier character in environment variables
commit077fb93d2bfaf2d4acb356535026efe56c0e120e
authorH. Peter Anvin <hpa@linux.intel.com>
Tue, 20 Jul 2010 21:56:30 +0000 (20 14:56 -0700)
committerH. Peter Anvin <hpa@linux.intel.com>
Tue, 20 Jul 2010 21:56:30 +0000 (20 14:56 -0700)
tree61dc56c351f7bac2aea5dd016943b81f335d09d1
parentaed4eaa8f3d83880a98592937ca6eb8114550a33
preproc: allow non-identifier character in environment variables

Allow non-identifier characters in the name of environment variables,
by surrounding them with string quotes (subject to ordinary
string-quoting rules.)

Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
doc/changes.src
doc/nasmdoc.src
preproc.c
test/ifenv.asm [new file with mode: 0644]