summaryrefslogtreecommitdiff
path: root/pptok.pl
diff options
context:
space:
mode:
Diffstat (limited to 'pptok.pl')
-rwxr-xr-xpptok.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/pptok.pl b/pptok.pl
index c9738d3..be85b94 100755
--- a/pptok.pl
+++ b/pptok.pl
@@ -164,7 +164,7 @@ if ($what eq 'c') {
}
my @hashinfo = gen_perfect_hash(\%tokens);
- if (!defined(@hashinfo)) {
+ if (!@hashinfo) {
die "$0: no hash found\n";
}