svn commit: r1481 - in trunk/yasm/modules: parsers/gas parsers/nasm

peter at tortall.net peter at tortall.net
Tue Apr 11 21:06:47 PDT 2006


Author: peter
Date: Tue Apr 11 21:06:44 2006
New Revision: 1481

Modified:
   trunk/yasm/modules/arch/lc3b/lc3bid.re
   trunk/yasm/modules/parsers/gas/gas-bison.y
   trunk/yasm/modules/parsers/gas/gas-parser.h
   trunk/yasm/modules/parsers/gas/gas-token.re
   trunk/yasm/modules/parsers/nasm/nasm-bison.y
   trunk/yasm/modules/parsers/nasm/nasm-parser.h
   trunk/yasm/modules/parsers/nasm/nasm-token.re
Changeset:
   http://www.tortall.net/projects/yasm/changeset/1481

Log:
Correctly handle input characters >127 by using unsigned char in the re2c
tokenizers.  Signed chars >127 are negative, and thus aren't caught by the
[\000-\377] range.
* gas-parser.h (YYCTYPE): Change to unsigned char.
* gas-bison.y, gas-token.re: Cast as necessary to char.
* nasm-parser.h, nasm-bison.y, nasm-token.re: Likewise.
* lc3bid.re: Likewise.



More information about the yasm-cvs mailing list