Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | create to_Deref_with_arrow() | Pascal Rigaux | 2004-12-05 | 1 | -3/+5 |
| | |||||
* | remove unused function | Pascal Rigaux | 2004-11-26 | 1 | -3/+0 |
| | |||||
* | check sub { { ... }; } | Pascal Rigaux | 2004-11-26 | 1 | -1/+5 |
| | |||||
* | create string_of_fromparser(), needs tuning | Pascal Rigaux | 2004-11-17 | 1 | -3/+3 |
| | |||||
* | - new function lines_to_Block() which takes care of calling check_block_sub() | Pascal Rigaux | 2004-11-17 | 1 | -2/+6 |
| | | | | | - anonymous_sub now uses lines_to_Block() | ||||
* | allow disabling warnings on command-line (and have various warnings level) | Pascal Rigaux | 2004-11-10 | 1 | -14/+17 |
| | |||||
* | check lvalue validity | Pascal Rigaux | 2004-08-12 | 1 | -0/+11 |
| | |||||
* | finishing context checks cleanup | Pascal Rigaux | 2004-05-09 | 1 | -2/+2 |
| | |||||
* | better contexts | Pascal Rigaux | 2004-05-08 | 1 | -19/+15 |
| | |||||
* | get_pos_from_expr() (previously named get_pos_from_tree()) is useful, even ↵ | Pascal Rigaux | 2004-04-28 | 1 | -0/+2 |
| | | | | in parser_helper | ||||
* | perl_checker: entries in generated pot file are sorted by files | Pascal Rigaux | 2004-01-09 | 1 | -2/+1 |
| | |||||
* | use hash_ref() to check priority of the arguments | Pascal Rigaux | 2004-01-05 | 1 | -0/+3 |
| | |||||
* | disallow | Pascal Rigaux | 2003-12-16 | 1 | -1/+2 |
| | | | | | | | - $a = (1, 2) - my $a = (1, 2) - my ($a, $b) = (1, 2, 3) | ||||
* | check the number of parameters given to N() | Pascal Rigaux | 2003-12-16 | 1 | -1/+1 |
| | |||||
* | - add the tuple(...) context | Pascal Rigaux | 2003-12-16 | 1 | -8/+11 |
| | | | | | | - check that the value xxx in "... or xxx" is dropped - handle "... or ..., ..." | ||||
* | allow to specify the return context of functions instead of always saying ↵ | Pascal Rigaux | 2003-12-15 | 1 | -4/+5 |
| | | | | M_unknown | ||||
* | - disallow return(...), prefering return ... | Pascal Rigaux | 2003-05-27 | 1 | -1/+18 |
| | | | | | - P_call_no_paren has a lower priority than P_comma | ||||
* | add a special case to handle "arch => 1" without going through word_alone() | Pascal Rigaux | 2003-05-26 | 1 | -2/+1 |
| | |||||
* | - suggest any instead of grep in scalar context | Pascal Rigaux | 2003-05-23 | 1 | -3/+12 |
| | | | | | - suggest foreach instead of map in empty context | ||||
* | correctly warn about the missing space in "my ($a,$b, $c);" | Pascal Rigaux | 2003-05-16 | 1 | -1/+3 |
| | |||||
* | allow "*foo = sub {}" with no prototype | Pascal Rigaux | 2003-04-30 | 1 | -1/+1 |
| | |||||
* | ensure return values are used | Pascal Rigaux | 2003-04-29 | 1 | -2/+19 |
| | |||||
* | - handle empty prototypes | Pascal Rigaux | 2003-04-24 | 1 | -1/+5 |
| | | | | | | | - check number of parameters in method calls (ignoring empty overloaded methods) - allow non-empty prototypes for methods not using @_ | ||||
* | forbid "unless (...) { ... } else { ... }" and "unless (...) { ... } elsif ↵ | Pascal Rigaux | 2003-04-15 | 1 | -0/+2 |
| | | | | (...) { ... } | ||||
* | add basic "type" checking (using a very liberal lattice) | Pascal Rigaux | 2003-04-15 | 1 | -3/+34 |
| | |||||
* | use new types to have stricter type checking (prior to adding maybe_context) | Pascal Rigaux | 2003-04-13 | 1 | -71/+92 |
| | |||||
* | - $foo =~ /^dhcp$/ is better written $foo eq 'dhcp' | Pascal Rigaux | 2003-04-01 | 1 | -0/+1 |
| | | | | | - warn "grep(&f, ...)", use "grep { f } ..." instead | ||||
* | - warn !($var =~ /.../) | Pascal Rigaux | 2003-04-01 | 1 | -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 Rigaux | 2003-04-01 | 1 | -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 Rigaux | 2003-04-01 | 1 | -2/+0 |
| | | | | | | | put the -PO comment in any case (more precisely, it concatenates all the -PO comments) | ||||
* | handle ${foo} (including "${foo}bar") | Pascal Rigaux | 2003-02-12 | 1 | -0/+2 |
| | |||||
* | warn when "ref" priority is badly handled by perl_checker | Pascal Rigaux | 2003-02-12 | 1 | -1/+2 |
| | |||||
* | warn when using $l[$#l], advice $l[-1] instead | Pascal Rigaux | 2003-02-05 | 1 | -0/+2 |
| | |||||
* | - perl_checker: | Pascal Rigaux | 2003-01-16 | 1 | -5/+9 |
| | | | | | | - check occurences of "$foo ? $foo : $bar" - disallow "fq::f args" when args is not parenthesized | ||||
* | perl_checker: new --generate-pot feature | Pascal Rigaux | 2002-12-10 | 1 | -0/+5 |
| | |||||
* | perl_checker now checks usage of $_ | Pascal Rigaux | 2002-12-05 | 1 | -2/+3 |
| | |||||
* | more restricted detection of non-use of if_()-like exprs | Pascal Rigaux | 2002-12-04 | 1 | -4/+2 |
| | |||||
* | - warn use of "cond ? list : ()" (use if_(cond, list) instead) | Pascal Rigaux | 2002-12-04 | 1 | -2/+8 |
| | | | | | - adapt MDK::Common::* to this (using @{[]} instead of () to avoid the warning) | ||||
* | *** empty log message *** | Pascal Rigaux | 2002-11-28 | 1 | -10/+46 |
| | |||||
* | *** empty log message *** | Pascal Rigaux | 2002-11-25 | 1 | -2/+12 |
| | |||||
* | *** empty log message *** | Pascal Rigaux | 2002-11-24 | 1 | -10/+19 |
| | |||||
* | *** empty log message *** | Pascal Rigaux | 2002-11-20 | 1 | -5/+22 |
| | |||||
* | *** empty log message *** | Pascal Rigaux | 2002-11-18 | 1 | -0/+3 |
| | |||||
* | *** empty log message *** | Pascal Rigaux | 2002-11-14 | 1 | -12/+20 |
| | |||||
* | *** empty log message *** | Pascal Rigaux | 2002-11-14 | 1 | -13/+31 |
| | |||||
* | *** empty log message *** | Pascal Rigaux | 2002-11-13 | 1 | -2/+18 |
| | |||||
* | *** empty log message *** | Pascal Rigaux | 2002-11-12 | 1 | -0/+42 |