summaryrefslogtreecommitdiffstats
path: root/perl_checker.src/parser_helper.ml
Commit message (Collapse)AuthorAgeFilesLines
* enhance non_scalar case for some operators using is_not_a_scalarPascal Rigaux2003-04-101-10/+20
|
* correctly (in Perl way) handle priority for some special unary functions ↵Pascal Rigaux2003-04-101-7/+2
| | | | (length, exists, ref)
* warn xxx == "ia64", xxx eq 2Pascal Rigaux2003-04-101-0/+18
|
* better error message ("please remove the space before the function call"Pascal Rigaux2003-04-101-1/+3
| | | | | instead of "can't handle this nicely")
* warn when using a regexp terminated with .* or .*$ (which is useless)Pascal Rigaux2003-04-101-1/+9
|
* enhance warning "... =~ /^foo$/" is better written "... eq 'foo'"Pascal Rigaux2003-04-021-1/+1
|
* fix error message for grep not used with a blockPascal Rigaux2003-04-011-1/+1
|
* - $foo =~ /^dhcp$/ is better written $foo eq 'dhcp'Pascal Rigaux2003-04-011-2/+11
| | | | | - warn "grep(&f, ...)", use "grep { f } ..." instead
* - warn !($var =~ /.../)Pascal Rigaux2003-04-011-0/+12
| | | | | | - warn $a & 0xff == $b better written $a & (0xff == $b) - "not" should not be used, use "!" instead
* warn "map(&f, ...)", use "map { f } ..." insteadPascal Rigaux2003-04-011-0/+6
|
* - warn <always true> || ... (eg: 1 || foo())Pascal Rigaux2003-04-011-1/+27
| | | | | | | | | - 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-4/+4
| | | | | | | put the -PO comment in any case (more precisely, it concatenates all the -PO comments)
* set the POT-Creation-Date to the current datePascal Rigaux2003-02-241-3/+3
|
* "$!" is NOT better written without the double quotesPascal Rigaux2003-02-181-1/+1
|
* don't suggest to replace "@foo ? @foo : @bar" with "@foo || @bar", this is ↵Pascal Rigaux2003-02-141-8/+18
| | | | wrong!
* handle ${foo} (including "${foo}bar")Pascal Rigaux2003-02-121-0/+20
|
* warn when "ref" priority is badly handled by perl_checkerPascal Rigaux2003-02-121-1/+4
|
* warn when using $l[$#l], advice $l[-1] insteadPascal Rigaux2003-02-051-1/+9
|
* allow -x with no parameter, but advise not to use itPascal Rigaux2003-02-051-0/+7
|
* - perl_checker:Pascal Rigaux2003-01-161-0/+10
| | | | | | - check occurences of "$foo ? $foo : $bar" - disallow "fq::f args" when args is not parenthesized
* perl_checker: when generating pot, add an header and fake line numbers to ↵Pascal Rigaux2003-01-151-2/+21
| | | | please msgmerge
* new features including checking methods being available and unused functionsPascal Rigaux2002-12-181-1/+5
|
* check the c-format conformity of translated stringsPascal Rigaux2002-12-101-31/+47
|
* perl_checker: new --generate-pot featurePascal Rigaux2002-12-101-1/+40
|
* - perl_checker: print on stdout, not stderrPascal Rigaux2002-12-061-3/+3
| | | | | - perl_checker: add option --restrict-to-files (mainly for perl_checko the Clean Keeper)
* perl_checker now checks usage of $_Pascal Rigaux2002-12-051-9/+19
|
* more restricted detection of non-use of if_()-like exprsPascal Rigaux2002-12-041-11/+27
|
* - warn use of "cond ? list : ()" (use if_(cond, list) instead)Pascal Rigaux2002-12-041-1/+13
| | | | | - adapt MDK::Common::* to this (using @{[]} instead of () to avoid the warning)
* *** empty log message ***Pascal Rigaux2002-12-021-4/+13
|
* *** empty log message ***Pascal Rigaux2002-11-281-0/+5
|
* *** empty log message ***Pascal Rigaux2002-11-281-61/+189
|
* *** empty log message ***Pascal Rigaux2002-11-251-35/+108
|
* *** empty log message ***Pascal Rigaux2002-11-241-44/+75
|
* *** empty log message ***Pascal Rigaux2002-11-201-5/+34
|
* *** empty log message ***Pascal Rigaux2002-11-181-1/+11
|
* *** empty log message ***Pascal Rigaux2002-11-151-1/+2
|
* *** empty log message ***Pascal Rigaux2002-11-141-10/+37
|
* *** empty log message ***Pascal Rigaux2002-11-141-23/+116
|
* *** empty log message ***Pascal Rigaux2002-11-131-8/+36
|
* *** empty log message ***Pascal Rigaux2002-11-121-0/+125