summaryrefslogtreecommitdiffstats
path: root/perl_checker.src
Commit message (Collapse)AuthorAgeFilesLines
* - turn some errors to warningsPascal Rigaux2004-03-311-4/+4
| | | | | - add function "-c"
* replace the information "a variable is accessed" with the more precisePascal Rigaux2004-01-224-31/+41
| | | | | | Access_none | Access_write_only | Access_various so that we can say either "variable unused" or "variable assigned but not read"
* handle "format" perl instructionPascal Rigaux2004-01-223-22/+42
|
* when debugging default is ../t.plPascal Rigaux2004-01-221-1/+1
|
* use a float to save the mtime since int overflows.Pascal Rigaux2004-01-136-10/+15
| | | | | this fixes the cache being used partially
* perl_checker: entries in generated pot file are sorted by filesPascal Rigaux2004-01-094-15/+21
|
* now allow ../../../xxx instead of ../../xxxPascal Rigaux2004-01-091-2/+5
| | | | | (to allow move/move.pm to be relative)
* always print "can't find package" warning, even with restrict-to-filesPascal Rigaux2004-01-093-1/+3
|
* Failure must be always printedPascal Rigaux2004-01-091-1/+1
|
* add sqrt, atan2, cos, sinPascal Rigaux2004-01-061-3/+3
|
* fix reported position of variables in stringsPascal Rigaux2004-01-051-0/+2
|
* warn when a PO: comment is not followed by N(...)Pascal Rigaux2004-01-051-0/+1
|
* handle \\$aPascal Rigaux2004-01-051-2/+2
|
* fix checking dropped value in some casesPascal Rigaux2004-01-051-1/+2
|
* use hash_ref() to check priority of the argumentsPascal Rigaux2004-01-053-23/+28
|
* check unused file-global my variablesPascal Rigaux2003-12-181-1/+2
|
* disallowPascal Rigaux2003-12-165-25/+51
| | | | | | | - $a = (1, 2) - my $a = (1, 2) - my ($a, $b) = (1, 2, 3)
* check the number of parameters given to N()Pascal Rigaux2003-12-162-11/+20
|
* nice error message instead of syntax error in: map { $_ } /re/ ? 1 : 2Pascal Rigaux2003-12-161-0/+1
|
* - drop internally operator "qw" by rewriting qw(...) into a list of stringsPascal Rigaux2003-12-163-5/+3
| | | | | | - as a side effect "foo" . qw(bar boo) is now detected - allow pop(@l) (with explicit parentheses)
* - pop behaves just like shiftPascal Rigaux2003-12-162-3/+10
| | | | | - check that the parameter to pop & shift is an array, and not more parameters are given
* fix checking value is dropped in tuplePascal Rigaux2003-12-161-1/+2
|
* "@hash{@l}" is ''. @hash{@l} .'', and not ''. @hash .'{'. @l .'}'Pascal Rigaux2003-12-161-3/+6
|
* handle __END__Pascal Rigaux2003-12-161-0/+1
|
* - add the tuple(...) contextPascal Rigaux2003-12-164-28/+54
| | | | | | - check that the value xxx in "... or xxx" is dropped - handle "... or ..., ..."
* remove the stupid new ocaml warning Fragile_patPascal Rigaux2003-12-161-1/+1
|
* 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-153-3/+8
| | | | | - !xx has the new context bool
* - specify the return context for N() and N_()Pascal Rigaux2003-12-151-1/+2
| | | | | - more precise position for warning "value is dropped"
* allow to specify the return context of functions instead of always saying ↵Pascal Rigaux2003-12-153-15/+17
| | | | M_unknown
* update "faking a normal lexbuf" code for new ocaml's parsing.mlPascal Rigaux2003-12-151-3/+3
|
* remove unusedPascal Rigaux2003-12-151-2/+0
|
* have a special debugging buildPascal Rigaux2003-12-154-3/+6
| | | | | (esp. to disable closing pipe which disallow debugging back in time)
* - correctly handle "shift" with no parameter at toplevelPascal Rigaux2003-12-152-2/+4
| | | | | - remove (hopefully) unused code rewriting shift -> shift(@_)
* don't internally keep \ for $ @ % { [Pascal Rigaux2003-11-181-1/+1
| | | | | that way, generated pot doesn't contain \\@ when it should contain @
* in the generated .pot, try to use relative filenames (so that the .pot doesn'tPascal Rigaux2003-11-101-1/+1
| | | | | change at each build)
* fix absolute_file_to_file (do allow filename to be ../../xxx)Pascal Rigaux2003-11-101-1/+1
|
* fix build with new ocamlPascal Rigaux2003-11-101-1/+0
|
* new warning: you can replace "member($xxx, keys %yyy)" with "exists $yyy{$xxx}"Pascal Rigaux2003-11-101-0/+7
|
* do check files passed as parametersPascal Rigaux2003-11-101-1/+1
|
* also disallow map {...} %xxxPascal Rigaux2003-10-011-2/+9
|
* warn: foreach (%xxx) { ... }Pascal Rigaux2003-10-011-0/+2
|
* fix locally imported at toplevelPascal Rigaux2003-10-011-3/+3
|
* allow: -f $a{b}->cPascal Rigaux2003-10-011-0/+3
|
* allow ->import on toplevel to impact the whole filePascal Rigaux2003-10-011-8/+12
| | | | | | (well, in fact it only impacts non yet checked code) (this is especially for drakbackup)
* perfect warning for suggesting qq(...) instead of "..."Pascal Rigaux2003-10-013-11/+27
|
* fix symbolic link dereference on "use"Pascal Rigaux2003-10-011-1/+1
|
* don't suggest replacing "xxx" with 'xxx' in case of N("xxx")Pascal Rigaux2003-10-011-1/+2
|
* suggest using 'xxx"xxx' instead of "xxx\"xxx" when there is no interpolationPascal Rigaux2003-10-011-9/+28
| | | | | in the string and no special \x
* make the difference between N("xxx") and "xxx"Pascal Rigaux2003-10-011-5/+8
| | | | | so that we can say: replace "xxx\"xxx" with qq(xxx"xxx)