summaryrefslogtreecommitdiffstats
path: root/perl_checker.src
Commit message (Collapse)AuthorAgeFilesLines
* rewrite to allow a special rule for "grep"Pascal Rigaux2004-08-121-10/+17
|
* handle s:xxx:yyy: and qw/.../, issuing a warningPascal Rigaux2004-08-122-1/+14
| | | | | (hopefully the ':' added in pattern_separator won't break other lex rules...)
* check lvalue validityPascal Rigaux2004-08-124-2/+36
|
* handle the following with no syntax errorPascal Rigaux2004-08-111-0/+1
| | | | | | | | | sub f() { 1; }
* "$foo or $foo = ..." can be written "$foo ||= ..."Pascal Rigaux2004-08-112-0/+5
|
* cleanupPascal Rigaux2004-08-111-44/+41
|
* cleanupPascal Rigaux2004-08-111-26/+23
|
* this case is already handled, only add a test casePascal Rigaux2004-08-111-0/+2
|
* enforce spaces around operator "." (string concat)Pascal Rigaux2004-08-112-1/+2
|
* "$a[@a] = ..." is better written "push @a, ..."Pascal Rigaux2004-08-112-0/+6
|
* suggest better for !($foo == $bar) (same for eq, != and ne)Pascal Rigaux2004-08-112-0/+14
|
* add getservbynamePascal Rigaux2004-08-111-1/+1
|
* partially fix { xxx() }->{$foo}Pascal Rigaux2004-08-112-3/+11
|
* fix checking calls with no parameterPascal Rigaux2004-08-111-0/+1
|
* - workaround bug in ocaml on ultrasparcPascal Rigaux2004-08-021-1/+7
| | | | | | (can't catch exception "Fatal error: out-of-bound access in array or string" in native code) - add begins_with in MDK::Common::String
* Build.date is now a string (otherwise it overflowed)Pascal Rigaux2004-07-223-4/+4
|
* many perl_checker enhancements and cleanupPascal Rigaux2004-06-282-3/+3
|
* for flexible detecting of functional patternsPascal Rigaux2004-05-091-9/+13
|
* finishing context checks cleanupPascal Rigaux2004-05-094-53/+67
|
* *** empty log message ***Pascal Rigaux2004-05-081-0/+2
|
* better contextsPascal Rigaux2004-05-086-176/+183
|
* detect "$xxx == undef"Pascal Rigaux2004-04-303-4/+9
|
* suggest replacing system(qq(foo "$xxx")) with system('foo', $xxx)Pascal Rigaux2004-04-282-0/+10
|
* fix typoPascal Rigaux2004-04-281-0/+1
|
* separate rewriting rules from warningsPascal Rigaux2004-04-281-55/+51
|
* don't tell to replace \: with : in "$foo\::" and /$foo\::/Pascal Rigaux2004-04-281-2/+2
|
* various detection of join() misusePascal Rigaux2004-04-283-1/+14
|
* get_pos_from_expr() (previously named get_pos_from_tree()) is useful, even ↵Pascal Rigaux2004-04-283-35/+37
| | | | in parser_helper
* handle bad PO-: comments at the lexical level instead of doing it in the grammarPascal Rigaux2004-04-284-10/+26
| | | | | to have a better error message
* add a testPascal Rigaux2004-04-281-2/+6
|
* fix typoPascal Rigaux2004-04-281-1/+1
|
* add a test for open F, ...Pascal Rigaux2004-04-281-0/+2
|
* - deprecate "open F, ..." prefering "open(my $F, ...)"Pascal Rigaux2004-04-281-1/+14
| | | | | - fix an internal_error
* test with local fake_packagesPascal Rigaux2004-04-281-0/+1
|
* handle: -e "foo" && -f _Pascal Rigaux2004-04-281-0/+1
|
* allowPascal Rigaux2004-04-281-1/+1
| | | | | | | | | my ($a, $b,); since it can be useful in: my ($a, # dqsdsq $b, # qdfqsdf ) = @_;
* - do check_simple_pattern() directly in from_PATTERN()Pascal Rigaux2004-04-282-10/+12
| | | | | - don't die, log instead for some regexp expressions
* no more internal_error "from_qw_raw" (which doesn't tell much about where it ↵Pascal Rigaux2004-04-281-6/+39
| | | | goes wrong)
* handle "use Foo X.X" (where X.X is a version number requested)Pascal Rigaux2004-04-091-1/+5
|
* cleanup perl_checker.htmlPascal Rigaux2004-04-071-1/+1
|
* add perl_checker.htmlPascal Rigaux2004-04-053-1/+162
|
* use local perl_checkerPascal Rigaux2004-04-051-1/+1
|
* *** empty log message ***Pascal Rigaux2004-04-011-1/+2
|
* fix warning (would also need fixing detecting of boolean context vs scalarPascal Rigaux2004-03-311-1/+1
| | | | | context)
* add tests for perl_checkerPascal Rigaux2004-03-3112-0/+379
|
* in "$a ? $a : xxx", "xxx" can need short circuitPascal Rigaux2004-03-311-1/+1
| | | | | (even if i don't think any value which is_a_scalar can need_short_circuit)
* - 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
|