svn commit: r1754 - in trunk/yasm/modules: objfmts/rdf/tests parsers/nasm

peter at tortall.net peter at tortall.net
Mon Feb 5 00:11:52 PST 2007


Author: peter
Date: Mon Feb  5 00:11:52 2007
New Revision: 1754

Added:
   trunk/yasm/modules/objfmts/elf/tests/nasm-forceident.asm
   trunk/yasm/modules/objfmts/elf/tests/nasm-forceident.hex
Modified:
   trunk/yasm/modules/objfmts/elf/tests/Makefile.inc
   trunk/yasm/modules/objfmts/rdf/tests/rdfext.asm
   trunk/yasm/modules/parsers/nasm/nasm-token.re
Changeset:
   http://www.tortall.net/projects/yasm/changeset/1754

Log:
Support forced identifiers ($foo) in directives.  This makes yasm match
NASM behavior with regards to e.g. extern $foo.

Unfortunately this makes yasm start not matching NASM behavior with regards
to the RDF module directive.  In NASM, module $foo results in a literal $foo
reference; yasm now requires either a double $ (e.g. $$foo) or quotes (e.g.
"$foo").  The special case for section (section $foo --> literal $foo) is
still present, but keeping this for other directives is extremely difficult.



More information about the yasm-cvs mailing list