0
0
mirror of https://github.com/netwide-assembler/nasm.git synced 2025-09-22 10:43:39 -04:00

Fix bugs in repeated suffix handling, which led to missing r8d/r8w/r8d

This commit is contained in:
H. Peter Anvin
2007-08-30 21:40:08 +00:00
parent 215c1a3781
commit 67858426e4

View File

@@ -26,7 +26,7 @@ sub process_line($) {
if ($reg =~ /^(.*[^0-9])([0-9]+)\-([0-9]+)(|[^0-9].*)$/) { if ($reg =~ /^(.*[^0-9])([0-9]+)\-([0-9]+)(|[^0-9].*)$/) {
$nregs = $3-$2+1; $nregs = $3-$2+1;
$reg = $1.$2; $reg = $1.$2.$4;
$reg_nr = $2; $reg_nr = $2;
$reg_prefix = $1; $reg_prefix = $1;
$reg_suffix = $4; $reg_suffix = $4;