CGrammar: Change "is true" to "is nonzero"

This commit is contained in:
Pragmatic Software 2014-06-24 05:38:59 +00:00
parent 9abf8b6e44
commit 95949153e0
2 changed files with 2 additions and 2 deletions

View File

@ -13,7 +13,7 @@ use warnings;
# These are set automatically by the build/commit script # These are set automatically by the build/commit script
use constant { use constant {
BUILD_NAME => "PBot", BUILD_NAME => "PBot",
BUILD_REVISION => 673, BUILD_REVISION => 674,
BUILD_DATE => "2014-06-23", BUILD_DATE => "2014-06-23",
}; };

View File

@ -94,7 +94,7 @@ sub istrue {
foreach my $part (@parts) { foreach my $part (@parts) {
$result .= $and; $result .= $and;
if($part !~ /(greater|less|equal|false$)/) { if($part !~ /(greater|less|equal|false$)/) {
$result .= "$part is true"; $result .= "$part is nonzero";
} else { } else {
$result .= $part; $result .= $part;
} }