diff options
author | H. Peter Anvin <hpa@zytor.com> | 2007-04-16 01:21:29 +0000 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2007-04-16 01:21:29 +0000 |
commit | 88aa185d36436e20490448a0e8e03632fba16a8e (patch) | |
tree | 85cc8560fa29effd8a10426d491df4476b0bee20 /regs.pl | |
parent | 0ee014231f5d6047258bbe3cab70c69bff5623b0 (diff) | |
download | nasm-88aa185d36436e20490448a0e8e03632fba16a8e.tar.gz nasm-88aa185d36436e20490448a0e8e03632fba16a8e.tar.bz2 nasm-88aa185d36436e20490448a0e8e03632fba16a8e.zip |
Use + instead of * for extension; it feels cleaner with the new meaning.
We used to use * to mean substitute in 0-7. Now it means that it should
be incremented 8 times. Using a different character feels cleaner.
Diffstat (limited to 'regs.pl')
-rwxr-xr-x | regs.pl | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -25,9 +25,9 @@ sub process_line($) { $regval = toint($4); $x86regno = toint($5); - if ($reg =~ /\*$/) { + if ($reg =~ /[0-9]\+$/) { $nregs = 8; - $reg =~ s/\*$//; + $reg =~ s/\+$//; } else { $nregs = 1; } |