diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2004-08-12 01:04:59 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2004-08-12 01:04:59 +0000 |
commit | 7952c6294c573fcd9328399b08d6d79dd28e605d (patch) | |
tree | b192da8368104829f027d7bdf77c1d080dd59878 /perl_checker.src/test | |
parent | ab10315e01cd4962d35c9fce53a667df409372f7 (diff) | |
download | perl_checker-7952c6294c573fcd9328399b08d6d79dd28e605d.tar perl_checker-7952c6294c573fcd9328399b08d6d79dd28e605d.tar.gz perl_checker-7952c6294c573fcd9328399b08d6d79dd28e605d.tar.bz2 perl_checker-7952c6294c573fcd9328399b08d6d79dd28e605d.tar.xz perl_checker-7952c6294c573fcd9328399b08d6d79dd28e605d.zip |
check lvalue validity
Diffstat (limited to 'perl_checker.src/test')
-rw-r--r-- | perl_checker.src/test/various_errors.t | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/perl_checker.src/test/various_errors.t b/perl_checker.src/test/various_errors.t index 535034b..af21eb4 100644 --- a/perl_checker.src/test/various_errors.t +++ b/perl_checker.src/test/various_errors.t @@ -12,9 +12,12 @@ if ($xxx = '') {} are you sure you did not mean "==" inst N("xxx$yyy") don't use interpolated translated string, use %s or %d instead +if ($xxx && $yyy = xxx()) {} invalid lvalue + 1 + 2 >> 3 missing parentheses (needed for clarity) $xxx ? $yyy = 1 : $zzz = 2; missing parentheses (needed for clarity) + invalid lvalue N_("xxx") . 'yyy' N_("xxx") . "yyy" is dumb since the string "xxx" will never get translated |