summaryrefslogtreecommitdiff
path: root/tokhash.pl
diff options
context:
space:
mode:
authorAnas Nashif <anas.nashif@intel.com>2013-04-14 01:07:52 -0700
committerAnas Nashif <anas.nashif@intel.com>2013-04-14 01:07:52 -0700
commit02a48f17aa3a8080563593ab849bd2458a0c3113 (patch)
treee683d520d73e96fcb7a6827026d23537c0817788 /tokhash.pl
parent300d4816804c8ceb4a4601a49ec3ec479c1951b5 (diff)
downloadnasm-02a48f17aa3a8080563593ab849bd2458a0c3113.tar.gz
nasm-02a48f17aa3a8080563593ab849bd2458a0c3113.tar.bz2
nasm-02a48f17aa3a8080563593ab849bd2458a0c3113.zip
Imported Upstream version 2.10.07upstream/2.10.07upstream-2.10.07
Diffstat (limited to 'tokhash.pl')
-rwxr-xr-xtokhash.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/tokhash.pl b/tokhash.pl
index 0c69c03..6c05802 100755
--- a/tokhash.pl
+++ b/tokhash.pl
@@ -183,7 +183,7 @@ if ($output eq 'h') {
#
@hashinfo = gen_perfect_hash(\%tokens);
- if (!defined(@hashinfo)) {
+ if (!@hashinfo) {
die "$0: no hash found\n";
}