summaryrefslogtreecommitdiffstats
path: root/perl_checker.src/parser_helper.mli
Commit message (Collapse)AuthorAgeFilesLines
* - $foo =~ /^dhcp$/ is better written $foo eq 'dhcp'Pascal Rigaux2003-04-011-0/+1
| | | | | - warn "grep(&f, ...)", use "grep { f } ..." instead
* - warn !($var =~ /.../)Pascal Rigaux2003-04-011-0/+1
| | | | | | - warn $a & 0xff == $b better written $a & (0xff == $b) - "not" should not be used, use "!" instead
* - warn <always true> || ... (eg: 1 || foo())Pascal Rigaux2003-04-011-2/+9
| | | | | | | | | - warn <always false> || ... - warn <always true> && ... - warn <always false> && ... - suggest @$foo instead of @{$foo} - suggest $foo->[0] instead of ${$foo}[0]
* when a #-PO comment on a same translated string is present twice, it should ↵Pascal Rigaux2003-04-011-2/+0
| | | | | | | put the -PO comment in any case (more precisely, it concatenates all the -PO comments)
* handle ${foo} (including "${foo}bar")Pascal Rigaux2003-02-121-0/+2
|
* warn when "ref" priority is badly handled by perl_checkerPascal Rigaux2003-02-121-1/+2
|
* warn when using $l[$#l], advice $l[-1] insteadPascal Rigaux2003-02-051-0/+2
|
* - perl_checker:Pascal Rigaux2003-01-161-5/+9
| | | | | | - check occurences of "$foo ? $foo : $bar" - disallow "fq::f args" when args is not parenthesized
* perl_checker: new --generate-pot featurePascal Rigaux2002-12-101-0/+5
|
* perl_checker now checks usage of $_Pascal Rigaux2002-12-051-2/+3
|
* more restricted detection of non-use of if_()-like exprsPascal Rigaux2002-12-041-4/+2
|
* - warn use of "cond ? list : ()" (use if_(cond, list) instead)Pascal Rigaux2002-12-041-2/+8
| | | | | - adapt MDK::Common::* to this (using @{[]} instead of () to avoid the warning)
* *** empty log message ***Pascal Rigaux2002-11-281-10/+46
|
* *** empty log message ***Pascal Rigaux2002-11-251-2/+12
|
* *** empty log message ***Pascal Rigaux2002-11-241-10/+19
|
* *** empty log message ***Pascal Rigaux2002-11-201-5/+22
|
* *** empty log message ***Pascal Rigaux2002-11-181-0/+3
|
* *** empty log message ***Pascal Rigaux2002-11-141-12/+20
|
* *** empty log message ***Pascal Rigaux2002-11-141-13/+31
|
* *** empty log message ***Pascal Rigaux2002-11-131-2/+18
|
* *** empty log message ***Pascal Rigaux2002-11-121-0/+42