summaryrefslogtreecommitdiffstats
path: root/perl_checker.src
Commit message (Collapse)AuthorAgeFilesLines
* 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)
* new warnings:Pascal Rigaux2003-10-011-6/+15
| | | | | | - you can replace [^\s] with \S - you can replace [^\w] with \W
* disallow s/foo/die "bar \"zzz\"/ePascal Rigaux2003-09-303-1/+17
|
* warning: no need to escape " in /xxx \" xxx/Pascal Rigaux2003-09-301-1/+1
|
* display relative file names when nicerPascal Rigaux2003-09-306-15/+42
|
* handle same files with different names (cuz of symbolic links)Pascal Rigaux2003-09-301-3/+7
|
* better handling of bad cache filePascal Rigaux2003-09-301-1/+1
|
* use absolute directories in Tree.use_libPascal Rigaux2003-09-302-3/+5
|
* ensure cache entries of removed file are removedPascal Rigaux2003-09-301-1/+4
|
* new warning: N_("xxx") . "yyy" is dumb since the string "xxx" will never get ↵Pascal Rigaux2003-09-301-0/+3
| | | | translated
* detect s@...@...@ instead of getting crazyPascal Rigaux2003-09-301-5/+10
|
* nice error message for qx{...} (instead of a syntax error)Pascal Rigaux2003-09-301-1/+4
|
* re-organize to handle cleanly multi packages per filePascal Rigaux2003-09-297-130/+202
| | | | | => fixes cache coherency
* you can't replace \[ with [ in "$foo[0]" otherwise the meaning is really ↵Pascal Rigaux2003-08-191-1/+1
| | | | different!
* you can't replace \r with rPascal Rigaux2003-08-191-1/+1
|
* remove debug infoPascal Rigaux2003-08-111-1/+1
|
* - allow $_o_XXX parameter name which is both unused and optional (same for ↵Pascal Rigaux2003-08-115-20/+55
| | | | | | | | | | | | $_b_XXX) - shift is a ONE_SCALAR_PARA so that $box->pack_start(shift @l, 0, 0, 4) is parsed correctly - in arrange_global_vars_declared(), don't keep anything in global_vars_declared, better create shadow packages to contain them - much better merging of multiple files defining functions in the same package. This fixes the bad behaviour when using the cache (esp. do_pkgs, but it was even worse with things in ugtk2.pm)
* in Pkg->method, warn when Pkg is an unknown packagePascal Rigaux2003-08-041-1/+1
|
* - reverse the order of packages found in a file (so that perl_checker doesn'tPascal Rigaux2003-08-041-1/+2
| | | | | | think ugtk2.pm's basedir is ".." (since it defines "package Gtk2::Entry")) - in verbose mode, tell when using a .so
* - disallow return(...), prefering return ...Pascal Rigaux2003-05-274-18/+47
| | | | | - P_call_no_paren has a lower priority than P_comma
* more robust from_qw_rawPascal Rigaux2003-05-271-0/+1
|
* - enhance restricted_subscripted to correctly handle -e foo::bar()->{boo}Pascal Rigaux2003-05-271-1/+4
| | | | | - simplify a grammar rule
* simplifyPascal Rigaux2003-05-261-4/+2
|
* handle use foo() and use foo ("x", "y")Pascal Rigaux2003-05-262-2/+10
|
* correctly handle { Protocol => { val => 'Standard' } }Pascal Rigaux2003-05-261-0/+1
| | | | | (was broken due to the "arch => 1" hack)
* better warning for: print $a . 'foo'Pascal Rigaux2003-05-261-1/+5
|