Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | you can't replace \[ with [ in "$foo[0]" otherwise the meaning is really ↵ | Pascal Rigaux | 2003-08-19 | 1 | -1/+1 |
| | | | | different! | ||||
* | you can't replace \r with r | Pascal Rigaux | 2003-08-19 | 1 | -1/+1 |
| | |||||
* | remove debug info | Pascal Rigaux | 2003-08-11 | 1 | -1/+1 |
| | |||||
* | - allow $_o_XXX parameter name which is both unused and optional (same for ↵ | Pascal Rigaux | 2003-08-11 | 5 | -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 package | Pascal Rigaux | 2003-08-04 | 1 | -1/+1 |
| | |||||
* | - reverse the order of packages found in a file (so that perl_checker doesn't | Pascal Rigaux | 2003-08-04 | 1 | -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 Rigaux | 2003-05-27 | 4 | -18/+47 |
| | | | | | - P_call_no_paren has a lower priority than P_comma | ||||
* | more robust from_qw_raw | Pascal Rigaux | 2003-05-27 | 1 | -0/+1 |
| | |||||
* | - enhance restricted_subscripted to correctly handle -e foo::bar()->{boo} | Pascal Rigaux | 2003-05-27 | 1 | -1/+4 |
| | | | | | - simplify a grammar rule | ||||
* | simplify | Pascal Rigaux | 2003-05-26 | 1 | -4/+2 |
| | |||||
* | handle use foo() and use foo ("x", "y") | Pascal Rigaux | 2003-05-26 | 2 | -2/+10 |
| | |||||
* | correctly handle { Protocol => { val => 'Standard' } } | Pascal Rigaux | 2003-05-26 | 1 | -0/+1 |
| | | | | | (was broken due to the "arch => 1" hack) | ||||
* | better warning for: print $a . 'foo' | Pascal Rigaux | 2003-05-26 | 1 | -1/+5 |
| | |||||
* | add a special case to handle "arch => 1" without going through word_alone() | Pascal Rigaux | 2003-05-26 | 3 | -8/+8 |
| | |||||
* | - warn things like: if ($a = 1) { ... } | Pascal Rigaux | 2003-05-26 | 1 | -0/+6 |
| | | | | | - undef is always false | ||||
* | check for "0 or ..." | Pascal Rigaux | 2003-05-26 | 1 | -0/+5 |
| | |||||
* | explicitly disallow <<=, >>= and **= (instead of having a syntax error) | Pascal Rigaux | 2003-05-26 | 1 | -0/+5 |
| | |||||
* | check prototype coherence: disallow ($a, @b, $c) or ($a, $o_b, $c) | Pascal Rigaux | 2003-05-26 | 1 | -2/+9 |
| | |||||
* | warn spurious space in ( 1, 2) which should be (1, 2) | Pascal Rigaux | 2003-05-23 | 1 | -1/+1 |
| | |||||
* | warn $o->method() which should be $o->method | Pascal Rigaux | 2003-05-23 | 1 | -1/+1 |
| | |||||
* | suggest using the functional map instead of the imperative foreach when | Pascal Rigaux | 2003-05-23 | 1 | -0/+12 |
| | | | | | possible | ||||
* | fix detection of grep in scalar context | Pascal Rigaux | 2003-05-23 | 1 | -3/+4 |
| | |||||
* | add warning: you can replace "map { if_(..., $_) }" with "grep { ... }" | Pascal Rigaux | 2003-05-23 | 1 | -0/+4 |
| | |||||
* | - suggest any instead of grep in scalar context | Pascal Rigaux | 2003-05-23 | 3 | -4/+19 |
| | | | | | - suggest foreach instead of map in empty context | ||||
* | fix "/^\d+\.\*$/" giving warning "you can remove \".*$\" at the end of your ↵ | Pascal Rigaux | 2003-05-23 | 1 | -1/+1 |
| | | | | regexp" | ||||
* | correctly warn about the missing space in "my ($a,$b, $c);" | Pascal Rigaux | 2003-05-16 | 3 | -9/+12 |
| | |||||
* | fix pot generation (have \" instead of \\\") | Pascal Rigaux | 2003-05-16 | 1 | -1/+2 |
| | |||||
* | use print_endline_flush instead of prerr_endline to comply with ↵ | Pascal Rigaux | 2003-04-30 | 1 | -1/+1 |
| | | | | --restrict-to-files | ||||
* | map and grep do not return a scalar | Pascal Rigaux | 2003-04-30 | 1 | -0/+2 |
| | |||||
* | ->can is allowed on any object | Pascal Rigaux | 2003-04-30 | 1 | -1/+1 |
| | |||||
* | allow "*foo = sub {}" with no prototype | Pascal Rigaux | 2003-04-30 | 6 | -19/+22 |
| | |||||
* | \ *is* necessary in "$foo\{" | Pascal Rigaux | 2003-04-30 | 1 | -1/+1 |
| | |||||
* | ensure return values are used | Pascal Rigaux | 2003-04-29 | 5 | -61/+138 |
| | |||||
* | allow "sub pkg::foo() { ...}" | Pascal Rigaux | 2003-04-28 | 2 | -5/+20 |
| | |||||
* | replace warning "unused variable @_" with "if the function doesn't take any | Pascal Rigaux | 2003-04-25 | 1 | -2/+8 |
| | | | | | parameters, please use the empty prototype.\nexample \"sub foo() { ... }\"" | ||||
* | - handle empty prototypes | Pascal Rigaux | 2003-04-24 | 9 | -58/+101 |
| | | | | | | | - check number of parameters in method calls (ignoring empty overloaded methods) - allow non-empty prototypes for methods not using @_ | ||||
* | check number of args in method calls | Pascal Rigaux | 2003-04-22 | 1 | -12/+35 |
| | |||||
* | fix argument checking for Class->method(...) calls | Pascal Rigaux | 2003-04-22 | 1 | -1/+1 |
| | |||||
* | basic "number of arguments" checking | Pascal Rigaux | 2003-04-17 | 7 | -72/+128 |
| | |||||
* | - recognize function parameters and disallow using @_ in the rest of the ↵ | Pascal Rigaux | 2003-04-16 | 1 | -1/+20 |
| | | | | | | | function body - suggest to use &f instead of f(@_) | ||||
* | forbid "unless (...) { ... } else { ... }" and "unless (...) { ... } elsif ↵ | Pascal Rigaux | 2003-04-15 | 3 | -1/+7 |
| | | | | (...) { ... } | ||||
* | add basic "type" checking (using a very liberal lattice) | Pascal Rigaux | 2003-04-15 | 5 | -343/+529 |
| | |||||
* | use new types to have stricter type checking (prior to adding maybe_context) | Pascal Rigaux | 2003-04-13 | 5 | -612/+662 |
| | |||||
* | allow 333 * `xxx` with no warning | Pascal Rigaux | 2003-04-11 | 1 | -1/+1 |
| | |||||
* | warn non-useful or non-readable escaped sequences in strings and regexps | Pascal Rigaux | 2003-04-11 | 1 | -15/+60 |
| | | | | | (eg: /^\// should be m|^/|, /xxx\=xxx/ should be /xxx=xxx/ ...) | ||||
* | warn things like: ($foo) ||= ... | Pascal Rigaux | 2003-04-11 | 1 | -0/+4 |
| | |||||
* | enhance non_scalar case for some operators using is_not_a_scalar | Pascal Rigaux | 2003-04-10 | 1 | -10/+20 |
| | |||||
* | handle "keys %pkg::" (twas broken because keys() is now a ONE_SCALAR_PARA) | Pascal Rigaux | 2003-04-10 | 1 | -0/+1 |
| | |||||
* | keys() is a ONE_SCALAR_PARA | Pascal Rigaux | 2003-04-10 | 1 | -0/+1 |
| | |||||
* | correctly (in Perl way) handle priority for some special unary functions ↵ | Pascal Rigaux | 2003-04-10 | 3 | -17/+15 |
| | | | | (length, exists, ref) |