Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | - new function lines_to_Block() which takes care of calling check_block_sub() | Pascal Rigaux | 2004-11-17 | 1 | -29/+29 |
| | | | | | - anonymous_sub now uses lines_to_Block() | ||||
* | turn an error into a warning (don't use for without "my"ing the iteration ↵ | Pascal Rigaux | 2004-11-16 | 1 | -2/+2 |
| | | | | variable) | ||||
* | allow disabling warnings on command-line (and have various warnings level) | Pascal Rigaux | 2004-11-10 | 1 | -13/+13 |
| | |||||
* | handle "use Gtk2 -init" | Pascal Rigaux | 2004-10-13 | 1 | -2/+6 |
| | |||||
* | handle "use 5.008;" | Pascal Rigaux | 2004-10-13 | 1 | -1/+1 |
| | |||||
* | check lvalue validity | Pascal Rigaux | 2004-08-12 | 1 | -2/+2 |
| | |||||
* | handle the following with no syntax error | Pascal Rigaux | 2004-08-11 | 1 | -0/+1 |
| | | | | | | | | | sub f() { 1; } | ||||
* | enforce spaces around operator "." (string concat) | Pascal Rigaux | 2004-08-11 | 1 | -1/+1 |
| | |||||
* | partially fix { xxx() }->{$foo} | Pascal Rigaux | 2004-08-11 | 1 | -3/+7 |
| | |||||
* | better contexts | Pascal Rigaux | 2004-05-08 | 1 | -59/+65 |
| | |||||
* | handle bad PO-: comments at the lexical level instead of doing it in the grammar | Pascal Rigaux | 2004-04-28 | 1 | -1/+0 |
| | | | | | to have a better error message | ||||
* | handle: -e "foo" && -f _ | Pascal Rigaux | 2004-04-28 | 1 | -0/+1 |
| | |||||
* | allow | Pascal Rigaux | 2004-04-28 | 1 | -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 Rigaux | 2004-04-28 | 1 | -8/+8 |
| | | | | | - don't die, log instead for some regexp expressions | ||||
* | handle "format" perl instruction | Pascal Rigaux | 2004-01-22 | 1 | -4/+3 |
| | |||||
* | warn when a PO: comment is not followed by N(...) | Pascal Rigaux | 2004-01-05 | 1 | -0/+1 |
| | |||||
* | use hash_ref() to check priority of the arguments | Pascal Rigaux | 2004-01-05 | 1 | -22/+22 |
| | |||||
* | disallow | Pascal Rigaux | 2003-12-16 | 1 | -11/+11 |
| | | | | | | | - $a = (1, 2) - my $a = (1, 2) - my ($a, $b) = (1, 2, 3) | ||||
* | nice error message instead of syntax error in: map { $_ } /re/ ? 1 : 2 | Pascal Rigaux | 2003-12-16 | 1 | -0/+1 |
| | |||||
* | - drop internally operator "qw" by rewriting qw(...) into a list of strings | Pascal Rigaux | 2003-12-16 | 1 | -1/+1 |
| | | | | | | - as a side effect "foo" . qw(bar boo) is now detected - allow pop(@l) (with explicit parentheses) | ||||
* | - add the tuple(...) context | Pascal Rigaux | 2003-12-16 | 1 | -10/+10 |
| | | | | | | - check that the value xxx in "... or xxx" is dropped - handle "... or ..., ..." | ||||
* | - check the context on left side of =~ | Pascal Rigaux | 2003-12-15 | 1 | -3/+3 |
| | | | | | - !xx has the new context bool | ||||
* | allow to specify the return context of functions instead of always saying ↵ | Pascal Rigaux | 2003-12-15 | 1 | -2/+2 |
| | | | | M_unknown | ||||
* | fix build with new ocaml | Pascal Rigaux | 2003-11-10 | 1 | -1/+0 |
| | |||||
* | allow: -f $a{b}->c | Pascal Rigaux | 2003-10-01 | 1 | -0/+3 |
| | |||||
* | - disallow return(...), prefering return ... | Pascal Rigaux | 2003-05-27 | 1 | -3/+3 |
| | | | | | - P_call_no_paren has a lower priority than P_comma | ||||
* | - 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 | 1 | -1/+1 |
| | |||||
* | correctly handle { Protocol => { val => 'Standard' } } | Pascal Rigaux | 2003-05-26 | 1 | -0/+1 |
| | | | | | (was broken due to the "arch => 1" hack) | ||||
* | add a special case to handle "arch => 1" without going through word_alone() | Pascal Rigaux | 2003-05-26 | 1 | -2/+3 |
| | |||||
* | 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 any instead of grep in scalar context | Pascal Rigaux | 2003-05-23 | 1 | -1/+1 |
| | | | | | - suggest foreach instead of map in empty context | ||||
* | correctly warn about the missing space in "my ($a,$b, $c);" | Pascal Rigaux | 2003-05-16 | 1 | -7/+7 |
| | |||||
* | allow "*foo = sub {}" with no prototype | Pascal Rigaux | 2003-04-30 | 1 | -6/+6 |
| | |||||
* | ensure return values are used | Pascal Rigaux | 2003-04-29 | 1 | -39/+43 |
| | |||||
* | allow "sub pkg::foo() { ...}" | Pascal Rigaux | 2003-04-28 | 1 | -2/+2 |
| | |||||
* | - handle empty prototypes | Pascal Rigaux | 2003-04-24 | 1 | -12/+22 |
| | | | | | | | - check number of parameters in method calls (ignoring empty overloaded methods) - allow non-empty prototypes for methods not using @_ | ||||
* | forbid "unless (...) { ... } else { ... }" and "unless (...) { ... } elsif ↵ | Pascal Rigaux | 2003-04-15 | 1 | -1/+1 |
| | | | | (...) { ... } | ||||
* | add basic "type" checking (using a very liberal lattice) | Pascal Rigaux | 2003-04-15 | 1 | -211/+216 |
| | |||||
* | use new types to have stricter type checking (prior to adding maybe_context) | Pascal Rigaux | 2003-04-13 | 1 | -278/+279 |
| | |||||
* | allow 333 * `xxx` with no warning | Pascal Rigaux | 2003-04-11 | 1 | -1/+1 |
| | |||||
* | handle "keys %pkg::" (twas broken because keys() is now 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 | 1 | -9/+9 |
| | | | | (length, exists, ref) | ||||
* | - $foo =~ /^dhcp$/ is better written $foo eq 'dhcp' | Pascal Rigaux | 2003-04-01 | 1 | -2/+2 |
| | | | | | - warn "grep(&f, ...)", use "grep { f } ..." instead | ||||
* | - warn !($var =~ /.../) | Pascal Rigaux | 2003-04-01 | 1 | -5/+5 |
| | | | | | | - warn $a & 0xff == $b better written $a & (0xff == $b) - "not" should not be used, use "!" instead | ||||
* | - warn <always true> || ... (eg: 1 || foo()) | Pascal Rigaux | 2003-04-01 | 1 | -4/+4 |
| | | | | | | | | | - warn <always false> || ... - warn <always true> && ... - warn <always false> && ... - suggest @$foo instead of @{$foo} - suggest $foo->[0] instead of ${$foo}[0] | ||||
* | - make "please don't use prototype pre-declaration" a warning | Pascal Rigaux | 2003-04-01 | 1 | -2/+11 |
| | | | | | - make a warning for unary plus instead of a "syntax error" | ||||
* | allow "use foo()" | Pascal Rigaux | 2003-02-24 | 1 | -0/+1 |
| |