diff options
author | H. Peter Anvin <hpa@zytor.com> | 2008-05-19 21:10:14 -0700 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2008-05-19 21:10:14 -0700 |
commit | e6fb38b9f2b9d0549142898725d723bf9cec748f (patch) | |
tree | 23ebe8f346ae21d9b2c3fa4cddb714f4602bfdcc /insns.pl | |
parent | 7a4928f484b9c2f1676349c421215cbb8766e030 (diff) | |
download | nasm-e6fb38b9f2b9d0549142898725d723bf9cec748f.tar.gz nasm-e6fb38b9f2b9d0549142898725d723bf9cec748f.tar.bz2 nasm-e6fb38b9f2b9d0549142898725d723bf9cec748f.zip |
insns.pl: escape literal special character in regex
In Perl code, it is good practice to escape special characters
intended to be literal.
Diffstat (limited to 'insns.pl')
-rw-r--r-- | insns.pl | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -678,7 +678,7 @@ sub byte_code_compile($) { die "$0: $line: $op without 'i' and 's' operands\n"; } push(@codes, 0172, ($oppos{'s'} << 3)+$oppos{'i'}); - } elsif ($op =~ /^is4=([0-9]+)$/) { + } elsif ($op =~ /^is4\=([0-9]+)$/) { if (!defined($oppos{'s'})) { die "$0: $line: $op without 's' operand\n"; } |