summaryrefslogtreecommitdiffstats
path: root/perl_checker.src/parser_helper.ml
Commit message (Expand)AuthorAgeFilesLines
* fix checking dropped value in some casesPascal Rigaux2004-01-051-1/+2
* use hash_ref() to check priority of the argumentsPascal Rigaux2004-01-051-1/+3
* disallowPascal Rigaux2003-12-161-12/+32
* check the number of parameters given to N()Pascal Rigaux2003-12-161-10/+19
* - drop internally operator "qw" by rewriting qw(...) into a list of stringsPascal Rigaux2003-12-161-2/+2
* - pop behaves just like shiftPascal Rigaux2003-12-161-2/+8
* fix checking value is dropped in tuplePascal Rigaux2003-12-161-1/+2
* - add the tuple(...) contextPascal Rigaux2003-12-161-10/+32
* check what is on the left side of "xxx =~ s///"Pascal Rigaux2003-12-151-2/+8
* - check the context on left side of =~Pascal Rigaux2003-12-151-0/+4
* - specify the return context for N() and N_()Pascal Rigaux2003-12-151-1/+2
* allow to specify the return context of functions instead of always saying M_u...Pascal Rigaux2003-12-151-9/+10
* update "faking a normal lexbuf" code for new ocaml's parsing.mlPascal Rigaux2003-12-151-3/+3
* - correctly handle "shift" with no parameter at toplevelPascal Rigaux2003-12-151-2/+1
* in the generated .pot, try to use relative filenames (so that the .pot doesn'tPascal Rigaux2003-11-101-1/+1
* new warning: you can replace "member($xxx, keys %yyy)" with "exists $yyy{$xxx}"Pascal Rigaux2003-11-101-0/+7
* also disallow map {...} %xxxPascal Rigaux2003-10-011-2/+9
* warn: foreach (%xxx) { ... }Pascal Rigaux2003-10-011-0/+2
* new warning: N_("xxx") . "yyy" is dumb since the string "xxx" will never get ...Pascal Rigaux2003-09-301-0/+3
* - allow $_o_XXX parameter name which is both unused and optional (same for $_...Pascal Rigaux2003-08-111-2/+5
* - disallow return(...), prefering return ...Pascal Rigaux2003-05-271-13/+25
* better warning for: print $a . 'foo'Pascal Rigaux2003-05-261-1/+5
* add a special case to handle "arch => 1" without going through word_alone()Pascal Rigaux2003-05-261-4/+4
* - warn things like: if ($a = 1) { ... }Pascal Rigaux2003-05-261-0/+6
* check for "0 or ..."Pascal Rigaux2003-05-261-0/+5
* suggest using the functional map instead of the imperative foreach whenPascal Rigaux2003-05-231-0/+12
* fix detection of grep in scalar contextPascal Rigaux2003-05-231-3/+4
* add warning: you can replace "map { if_(..., $_) }" with "grep { ... }"Pascal Rigaux2003-05-231-0/+4
* - suggest any instead of grep in scalar contextPascal Rigaux2003-05-231-0/+6
* correctly warn about the missing space in "my ($a,$b, $c);"Pascal Rigaux2003-05-161-1/+2
* map and grep do not return a scalarPascal Rigaux2003-04-301-0/+2
* allow "*foo = sub {}" with no prototypePascal Rigaux2003-04-301-6/+6
* ensure return values are usedPascal Rigaux2003-04-291-15/+70
* - handle empty prototypesPascal Rigaux2003-04-241-7/+11
* basic "number of arguments" checkingPascal Rigaux2003-04-171-1/+2
* forbid "unless (...) { ... } else { ... }" and "unless (...) { ... } elsif (....Pascal Rigaux2003-04-151-0/+4
* add basic "type" checking (using a very liberal lattice)Pascal Rigaux2003-04-151-20/+144
* use new types to have stricter type checking (prior to adding maybe_context)Pascal Rigaux2003-04-131-164/+174
* warn things like: ($foo) ||= ...Pascal Rigaux2003-04-111-0/+4
* 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 (len...Pascal Rigaux2003-04-101-7/+2
* 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
* 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 !($var =~ /.../)Pascal Rigaux2003-04-011-0/+12
* warn "map(&f, ...)", use "map { f } ..." insteadPascal Rigaux2003-04-011-0/+6
* - warn <always true> || ... (eg: 1 || foo())Pascal Rigaux2003-04-011-1/+27