Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | - ugly hack to workaround uniop calls priority pb, but at least have a ↵ | Pascal Rigaux | 2004-12-13 | 1 | -4/+8 |
| | | | | | | | P_uniop instead of using P_mul - add delete as a uniop | ||||
* | create to_Deref_with_arrow() | Pascal Rigaux | 2004-12-05 | 1 | -3/+6 |
| | |||||
* | remove unused function | Pascal Rigaux | 2004-11-26 | 1 | -9/+0 |
| | |||||
* | check sub { { ... }; } | Pascal Rigaux | 2004-11-26 | 1 | -8/+12 |
| | |||||
* | don't "double quotes are unneeded" for "@m3[1..$#m3]" | Pascal Rigaux | 2004-11-26 | 1 | -1/+2 |
| | |||||
* | recognize a form of "find { ... } ..." | Pascal Rigaux | 2004-11-17 | 1 | -0/+7 |
| | |||||
* | create string_of_fromparser(), needs tuning | Pascal Rigaux | 2004-11-17 | 1 | -28/+78 |
| | |||||
* | - new function lines_to_Block() which takes care of calling check_block_sub() | Pascal Rigaux | 2004-11-17 | 1 | -3/+8 |
| | | | | | - anonymous_sub now uses lines_to_Block() | ||||
* | allow disabling warnings on command-line (and have various warnings level) | Pascal Rigaux | 2004-11-10 | 1 | -114/+113 |
| | |||||
* | suggest mkdir() instead of system("mkdir ...") | Pascal Rigaux | 2004-10-14 | 1 | -6/+27 |
| | |||||
* | - add char_quote (to help emacs caml mode) | Pascal Rigaux | 2004-10-14 | 1 | -2/+2 |
| | | | | | - change prototype of str_begins_with | ||||
* | check if_() with only one parameter | Pascal Rigaux | 2004-10-14 | 1 | -0/+5 |
| | |||||
* | replace "my $foo = ... if <cond>" with "my $foo = <cond> && ..." | Pascal Rigaux | 2004-10-13 | 1 | -0/+16 |
| | | | | | replace "<cond> or my $foo = ..." with "my $foo = !<cond> && ..." | ||||
* | check 'xxx' if $xxx (=> value is dropped) | Pascal Rigaux | 2004-10-13 | 1 | -26/+29 |
| | |||||
* | fix indentation | Pascal Rigaux | 2004-10-13 | 1 | -19/+19 |
| | |||||
* | $#x == -1 is better written @x == 0 | Pascal Rigaux | 2004-10-13 | 1 | -2/+5 |
| | |||||
* | check $#l < 0 | Pascal Rigaux | 2004-10-13 | 1 | -0/+5 |
| | |||||
* | allow join(N("xxx"), ...) | Pascal Rigaux | 2004-10-13 | 1 | -1/+2 |
| | |||||
* | you can replace "any { $_ eq ... } @l" with "member(..., @l)" | Pascal Rigaux | 2004-10-13 | 1 | -1/+9 |
| | |||||
* | - check push arguments | Pascal Rigaux | 2004-10-13 | 1 | -0/+7 |
| | | | | | - add a test for pop arguments | ||||
* | disallow the use of the return value of push and unshift | Pascal Rigaux | 2004-10-13 | 1 | -1/+1 |
| | |||||
* | you can replace "grep { !member($_, ...) } @l" with "difference2([ @l ], [ ↵ | Pascal Rigaux | 2004-08-12 | 1 | -1/+8 |
| | | | | ... ])" | ||||
* | rewrite to allow a special rule for "grep" | Pascal Rigaux | 2004-08-12 | 1 | -10/+17 |
| | |||||
* | check lvalue validity | Pascal Rigaux | 2004-08-12 | 1 | -0/+20 |
| | |||||
* | "$foo or $foo = ..." can be written "$foo ||= ..." | Pascal Rigaux | 2004-08-11 | 1 | -0/+3 |
| | |||||
* | cleanup | Pascal Rigaux | 2004-08-11 | 1 | -44/+41 |
| | |||||
* | cleanup | Pascal Rigaux | 2004-08-11 | 1 | -26/+23 |
| | |||||
* | "$a[@a] = ..." is better written "push @a, ..." | Pascal Rigaux | 2004-08-11 | 1 | -0/+4 |
| | |||||
* | suggest better for !($foo == $bar) (same for eq, != and ne) | Pascal Rigaux | 2004-08-11 | 1 | -0/+10 |
| | |||||
* | many perl_checker enhancements and cleanup | Pascal Rigaux | 2004-06-28 | 1 | -2/+2 |
| | |||||
* | for flexible detecting of functional patterns | Pascal Rigaux | 2004-05-09 | 1 | -9/+13 |
| | |||||
* | finishing context checks cleanup | Pascal Rigaux | 2004-05-09 | 1 | -50/+46 |
| | |||||
* | better contexts | Pascal Rigaux | 2004-05-08 | 1 | -91/+86 |
| | |||||
* | detect "$xxx == undef" | Pascal Rigaux | 2004-04-30 | 1 | -3/+6 |
| | |||||
* | suggest replacing system(qq(foo "$xxx")) with system('foo', $xxx) | Pascal Rigaux | 2004-04-28 | 1 | -0/+8 |
| | |||||
* | fix typo | Pascal Rigaux | 2004-04-28 | 1 | -0/+1 |
| | |||||
* | separate rewriting rules from warnings | Pascal Rigaux | 2004-04-28 | 1 | -55/+51 |
| | |||||
* | various detection of join() misuse | Pascal Rigaux | 2004-04-28 | 1 | -0/+9 |
| | |||||
* | get_pos_from_expr() (previously named get_pos_from_tree()) is useful, even ↵ | Pascal Rigaux | 2004-04-28 | 1 | -0/+34 |
| | | | | in parser_helper | ||||
* | fix typo | Pascal Rigaux | 2004-04-28 | 1 | -1/+1 |
| | |||||
* | - deprecate "open F, ..." prefering "open(my $F, ...)" | Pascal Rigaux | 2004-04-28 | 1 | -1/+14 |
| | | | | | - fix an internal_error | ||||
* | - do check_simple_pattern() directly in from_PATTERN() | Pascal Rigaux | 2004-04-28 | 1 | -2/+4 |
| | | | | | - don't die, log instead for some regexp expressions | ||||
* | fix warning (would also need fixing detecting of boolean context vs scalar | Pascal Rigaux | 2004-03-31 | 1 | -1/+1 |
| | | | | | context) | ||||
* | in "$a ? $a : xxx", "xxx" can need short circuit | Pascal Rigaux | 2004-03-31 | 1 | -1/+1 |
| | | | | | (even if i don't think any value which is_a_scalar can need_short_circuit) | ||||
* | perl_checker: entries in generated pot file are sorted by files | Pascal Rigaux | 2004-01-09 | 1 | -12/+14 |
| | |||||
* | fix checking dropped value in some cases | Pascal Rigaux | 2004-01-05 | 1 | -1/+2 |
| | |||||
* | use hash_ref() to check priority of the arguments | Pascal Rigaux | 2004-01-05 | 1 | -1/+3 |
| | |||||
* | disallow | Pascal Rigaux | 2003-12-16 | 1 | -12/+32 |
| | | | | | | | - $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 | -10/+19 |
| | |||||
* | - drop internally operator "qw" by rewriting qw(...) into a list of strings | Pascal Rigaux | 2003-12-16 | 1 | -2/+2 |
| | | | | | | - as a side effect "foo" . qw(bar boo) is now detected - allow pop(@l) (with explicit parentheses) |