summaryrefslogtreecommitdiffstats
path: root/perl_checker.src/parser.mly
Commit message (Collapse)AuthorAgeFilesLines
* re-sync after the big svn lossPascal Rigaux2007-04-251-500/+0
|
* handle $o->popPascal Rigaux2006-06-211-0/+1
|
* - ugly hack to workaround uniop calls priority pb, but at least have a ↵Pascal Rigaux2004-12-131-14/+14
| | | | | | | P_uniop instead of using P_mul - add delete as a uniop
* allow some more things using ONE_SCALAR_PARA (esp. for "delete")Pascal Rigaux2004-12-051-0/+4
|
* fix precedence issuePascal Rigaux2004-12-051-1/+1
|
* solve some ugly precendence pbs :)Pascal Rigaux2004-12-051-7/+8
|
* simplify again using the rule "simple_subscript"Pascal Rigaux2004-12-051-6/+2
|
* factorizePascal Rigaux2004-12-051-6/+8
|
* check sub { { ... }; }Pascal Rigaux2004-11-261-4/+4
|
* warn about blocks ending with a ";"Pascal Rigaux2004-11-261-2/+1
|
* create string_of_fromparser(), needs tuningPascal Rigaux2004-11-171-1/+1
|
* warn unneeded ";" after some blocksPascal Rigaux2004-11-171-1/+1
|
* - new function lines_to_Block() which takes care of calling check_block_sub()Pascal Rigaux2004-11-171-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 Rigaux2004-11-161-2/+2
| | | | variable)
* allow disabling warnings on command-line (and have various warnings level)Pascal Rigaux2004-11-101-13/+13
|
* handle "use Gtk2 -init"Pascal Rigaux2004-10-131-2/+6
|
* handle "use 5.008;"Pascal Rigaux2004-10-131-1/+1
|
* check lvalue validityPascal Rigaux2004-08-121-2/+2
|
* handle the following with no syntax errorPascal Rigaux2004-08-111-0/+1
| | | | | | | | | sub f() { 1; }
* enforce spaces around operator "." (string concat)Pascal Rigaux2004-08-111-1/+1
|
* partially fix { xxx() }->{$foo}Pascal Rigaux2004-08-111-3/+7
|
* better contextsPascal Rigaux2004-05-081-59/+65
|
* handle bad PO-: comments at the lexical level instead of doing it in the grammarPascal Rigaux2004-04-281-1/+0
| | | | | to have a better error message
* 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-281-8/+8
| | | | | - don't die, log instead for some regexp expressions
* handle "format" perl instructionPascal Rigaux2004-01-221-4/+3
|
* warn when a PO: comment is not followed by N(...)Pascal Rigaux2004-01-051-0/+1
|
* use hash_ref() to check priority of the argumentsPascal Rigaux2004-01-051-22/+22
|
* disallowPascal Rigaux2003-12-161-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 : 2Pascal Rigaux2003-12-161-0/+1
|
* - drop internally operator "qw" by rewriting qw(...) into a list of stringsPascal Rigaux2003-12-161-1/+1
| | | | | | - as a side effect "foo" . qw(bar boo) is now detected - allow pop(@l) (with explicit parentheses)
* - add the tuple(...) contextPascal Rigaux2003-12-161-10/+10
| | | | | | - check that the value xxx in "... or xxx" is dropped - handle "... or ..., ..."
* - check the context on left side of =~Pascal Rigaux2003-12-151-3/+3
| | | | | - !xx has the new context bool
* allow to specify the return context of functions instead of always saying ↵Pascal Rigaux2003-12-151-2/+2
| | | | M_unknown
* fix build with new ocamlPascal Rigaux2003-11-101-1/+0
|
* allow: -f $a{b}->cPascal Rigaux2003-10-011-0/+3
|
* - disallow return(...), prefering return ...Pascal Rigaux2003-05-271-3/+3
| | | | | - P_call_no_paren has a lower priority than P_comma
* - 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-261-1/+1
|
* correctly handle { Protocol => { val => 'Standard' } }Pascal Rigaux2003-05-261-0/+1
| | | | | (was broken due to the "arch => 1" hack)
* add a special case to handle "arch => 1" without going through word_alone()Pascal Rigaux2003-05-261-2/+3
|
* warn spurious space in ( 1, 2) which should be (1, 2)Pascal Rigaux2003-05-231-1/+1
|
* warn $o->method() which should be $o->methodPascal Rigaux2003-05-231-1/+1
|
* - suggest any instead of grep in scalar contextPascal Rigaux2003-05-231-1/+1
| | | | | - suggest foreach instead of map in empty context
* correctly warn about the missing space in "my ($a,$b, $c);"Pascal Rigaux2003-05-161-7/+7
|
* allow "*foo = sub {}" with no prototypePascal Rigaux2003-04-301-6/+6
|
* ensure return values are usedPascal Rigaux2003-04-291-39/+43
|
* allow "sub pkg::foo() { ...}"Pascal Rigaux2003-04-281-2/+2
|