svn commit: r1757 - in trunk/yasm: libyasm modules/arch/lc3b modules/arch/x86 modules/dbgfmts/dwarf2 modules/objfmts/bin modules/objfmts/coff modules/objfmts/dbg modules/objfmts/elf modules/objfmts/rdf modules/objfmts/xdf modules/parsers/nasm
peter at tortall.net
peter at tortall.net
Wed Feb 7 00:29:42 PST 2007
Author: peter
Date: Wed Feb 7 00:29:41 2007
New Revision: 1757
Modified:
trunk/yasm/libyasm/arch.h
trunk/yasm/libyasm/dbgfmt.h
trunk/yasm/libyasm/objfmt.h
trunk/yasm/modules/arch/lc3b/lc3barch.c
trunk/yasm/modules/arch/x86/x86arch.c
trunk/yasm/modules/dbgfmts/dwarf2/dwarf2-line.c
trunk/yasm/modules/objfmts/bin/bin-objfmt.c
trunk/yasm/modules/objfmts/coff/coff-objfmt.c
trunk/yasm/modules/objfmts/dbg/dbg-objfmt.c
trunk/yasm/modules/objfmts/elf/elf-objfmt.c
trunk/yasm/modules/objfmts/macho/macho-objfmt.c
trunk/yasm/modules/objfmts/rdf/rdf-objfmt.c
trunk/yasm/modules/objfmts/xdf/xdf-objfmt.c
trunk/yasm/modules/parsers/nasm/nasm-parse.c
trunk/yasm/modules/parsers/nasm/nasm-token.re
Changeset:
http://www.tortall.net/projects/yasm/changeset/1757
Log:
Allow directives to have no parameters in the parser, and check for it at
a lower level.
To reduce code duplication, refactor several of the large if/else structures
into multiple functions with a lookup table.
Add support for registers to be used in directive expressions.
Allow directives to have underscores and numbers (still cannot start with
numbers).
More information about the yasm-cvs
mailing list