Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | - disallow return(...), prefering return ... | Pascal Rigaux | 2003-05-27 | 1 | -3/+3 |
| | | | | | - P_call_no_paren has a lower priority than P_comma | ||||
* | - enhance restricted_subscripted to correctly handle -e foo::bar()->{boo} | Pascal Rigaux | 2003-05-27 | 1 | -1/+4 |
| | | | | | - simplify a grammar rule | ||||
* | simplify | Pascal Rigaux | 2003-05-26 | 1 | -4/+2 |
| | |||||
* | handle use foo() and use foo ("x", "y") | Pascal Rigaux | 2003-05-26 | 1 | -1/+1 |
| | |||||
* | correctly handle { Protocol => { val => 'Standard' } } | Pascal Rigaux | 2003-05-26 | 1 | -0/+1 |
| | | | | | (was broken due to the "arch => 1" hack) | ||||
* | add a special case to handle "arch => 1" without going through word_alone() | Pascal Rigaux | 2003-05-26 | 1 | -2/+3 |
| | |||||
* | warn spurious space in ( 1, 2) which should be (1, 2) | Pascal Rigaux | 2003-05-23 | 1 | -1/+1 |
| | |||||
* | warn $o->method() which should be $o->method | Pascal Rigaux | 2003-05-23 | 1 | -1/+1 |
| | |||||
* | - suggest any instead of grep in scalar context | Pascal Rigaux | 2003-05-23 | 1 | -1/+1 |
| | | | | | - 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 | -7/+7 |
| | |||||
* | allow "*foo = sub {}" with no prototype | Pascal Rigaux | 2003-04-30 | 1 | -6/+6 |
| | |||||
* | ensure return values are used | Pascal Rigaux | 2003-04-29 | 1 | -39/+43 |
| | |||||
* | allow "sub pkg::foo() { ...}" | Pascal Rigaux | 2003-04-28 | 1 | -2/+2 |
| | |||||
* | - handle empty prototypes | Pascal Rigaux | 2003-04-24 | 1 | -12/+22 |
| | | | | | | | - 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 | -1/+1 |
| | | | | (...) { ... } | ||||
* | add basic "type" checking (using a very liberal lattice) | Pascal Rigaux | 2003-04-15 | 1 | -211/+216 |
| | |||||
* | use new types to have stricter type checking (prior to adding maybe_context) | Pascal Rigaux | 2003-04-13 | 1 | -278/+279 |
| | |||||
* | allow 333 * `xxx` with no warning | Pascal Rigaux | 2003-04-11 | 1 | -1/+1 |
| | |||||
* | handle "keys %pkg::" (twas broken because keys() is now a ONE_SCALAR_PARA) | Pascal Rigaux | 2003-04-10 | 1 | -0/+1 |
| | |||||
* | correctly (in Perl way) handle priority for some special unary functions ↵ | Pascal Rigaux | 2003-04-10 | 1 | -9/+9 |
| | | | | (length, exists, ref) | ||||
* | - $foo =~ /^dhcp$/ is better written $foo eq 'dhcp' | Pascal Rigaux | 2003-04-01 | 1 | -2/+2 |
| | | | | | - warn "grep(&f, ...)", use "grep { f } ..." instead | ||||
* | - warn !($var =~ /.../) | Pascal Rigaux | 2003-04-01 | 1 | -5/+5 |
| | | | | | | - 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 | -4/+4 |
| | | | | | | | | | - warn <always false> || ... - warn <always true> && ... - warn <always false> && ... - suggest @$foo instead of @{$foo} - suggest $foo->[0] instead of ${$foo}[0] | ||||
* | - make "please don't use prototype pre-declaration" a warning | Pascal Rigaux | 2003-04-01 | 1 | -2/+11 |
| | | | | | - make a warning for unary plus instead of a "syntax error" | ||||
* | allow "use foo()" | Pascal Rigaux | 2003-02-24 | 1 | -0/+1 |
| | |||||
* | handle ${foo} (including "${foo}bar") | Pascal Rigaux | 2003-02-12 | 1 | -5/+5 |
| | |||||
* | warn when using $l[$#l], advice $l[-1] instead | Pascal Rigaux | 2003-02-05 | 1 | -10/+10 |
| | |||||
* | allow -x with no parameter, but advise not to use it | Pascal Rigaux | 2003-02-05 | 1 | -0/+1 |
| | |||||
* | - perl_checker: | Pascal Rigaux | 2003-01-16 | 1 | -1/+1 |
| | | | | | | - 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 | -1/+3 |
| | |||||
* | perl_checker now checks usage of $_ | Pascal Rigaux | 2002-12-05 | 1 | -10/+13 |
| | |||||
* | add "unused variable" detection | Pascal Rigaux | 2002-12-04 | 1 | -6/+6 |
| | |||||
* | more restricted detection of non-use of if_()-like exprs | Pascal Rigaux | 2002-12-04 | 1 | -4/+4 |
| | |||||
* | - warn use of "cond ? list : ()" (use if_(cond, list) instead) | Pascal Rigaux | 2002-12-04 | 1 | -4/+6 |
| | | | | | - adapt MDK::Common::* to this (using @{[]} instead of () to avoid the warning) | ||||
* | *** empty log message *** | Pascal Rigaux | 2002-12-02 | 1 | -2/+2 |
| | |||||
* | *** empty log message *** | Pascal Rigaux | 2002-11-28 | 1 | -88/+90 |
| | |||||
* | *** empty log message *** | Pascal Rigaux | 2002-11-26 | 1 | -11/+11 |
| | |||||
* | *** empty log message *** | Pascal Rigaux | 2002-11-26 | 1 | -1/+1 |
| | |||||
* | *** empty log message *** | Pascal Rigaux | 2002-11-25 | 1 | -11/+17 |
| | |||||
* | *** empty log message *** | Pascal Rigaux | 2002-11-24 | 1 | -164/+181 |
| | |||||
* | *** empty log message *** | Pascal Rigaux | 2002-11-20 | 1 | -21/+45 |
| | |||||
* | *** empty log message *** | Pascal Rigaux | 2002-11-18 | 1 | -11/+12 |
| | |||||
* | *** empty log message *** | Pascal Rigaux | 2002-11-15 | 1 | -1/+1 |
| | |||||
* | *** empty log message *** | Pascal Rigaux | 2002-11-15 | 1 | -1/+1 |
| | |||||
* | *** empty log message *** | Pascal Rigaux | 2002-11-14 | 1 | -153/+151 |
| | |||||
* | *** empty log message *** | Pascal Rigaux | 2002-11-14 | 1 | -141/+150 |
| | |||||
* | *** empty log message *** | Pascal Rigaux | 2002-11-13 | 1 | -0/+1 |
| | |||||
* | *** empty log message *** | Pascal Rigaux | 2002-11-13 | 1 | -62/+62 |
| | |||||
* | *** empty log message *** | Pascal Rigaux | 2002-11-12 | 1 | -258/+255 |
| | |||||
* | *** empty log message *** | Pascal Rigaux | 2002-11-10 | 1 | -178/+231 |
| |