summaryrefslogtreecommitdiffstats
path: root/perl_checker.src/lexer.mll
Commit message (Collapse)AuthorAgeFilesLines
* don't internally keep \ for $ @ % { [Pascal Rigaux2003-11-181-1/+1
| | | | | that way, generated pot doesn't contain \\@ when it should contain @
* perfect warning for suggesting qq(...) instead of "..."Pascal Rigaux2003-10-011-11/+19
|
* 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-301-0/+3
|
* warning: no need to escape " in /xxx \" xxx/Pascal Rigaux2003-09-301-1/+1
|
* 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
|
* 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
|
* - allow $_o_XXX parameter name which is both unused and optional (same for ↵Pascal Rigaux2003-08-111-0/+1
| | | | | | | | | | | | $_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)
* explicitly disallow <<=, >>= and **= (instead of having a syntax error)Pascal Rigaux2003-05-261-0/+5
|
* fix "/^\d+\.\*$/" giving warning "you can remove \".*$\" at the end of your ↵Pascal Rigaux2003-05-231-1/+1
| | | | regexp"
* fix pot generation (have \" instead of \\\")Pascal Rigaux2003-05-161-1/+2
|
* use print_endline_flush instead of prerr_endline to comply with ↵Pascal Rigaux2003-04-301-1/+1
| | | | --restrict-to-files
* \ *is* necessary in "$foo\{"Pascal Rigaux2003-04-301-1/+1
|
* ensure return values are usedPascal Rigaux2003-04-291-4/+5
|
* allow "sub pkg::foo() { ...}"Pascal Rigaux2003-04-281-3/+18
|
* - handle empty prototypesPascal Rigaux2003-04-241-1/+7
| | | | | | | - check number of parameters in method calls (ignoring empty overloaded methods) - allow non-empty prototypes for methods not using @_
* add basic "type" checking (using a very liberal lattice)Pascal Rigaux2003-04-151-109/+120
|
* use new types to have stricter type checking (prior to adding maybe_context)Pascal Rigaux2003-04-131-99/+101
|
* warn non-useful or non-readable escaped sequences in strings and regexpsPascal Rigaux2003-04-111-15/+60
| | | | | (eg: /^\// should be m|^/|, /xxx\=xxx/ should be /xxx=xxx/ ...)
* keys() is a ONE_SCALAR_PARAPascal Rigaux2003-04-101-0/+1
|
* correctly (in Perl way) handle priority for some special unary functions ↵Pascal Rigaux2003-04-101-1/+4
| | | | (length, exists, ref)
* 0.2 is a NUM, not a REVISION (otherwise it gets into a Raw_string)Pascal Rigaux2003-04-101-1/+1
|
* handle "\x{hex}"Pascal Rigaux2003-02-061-6/+14
|
* allow -x with no parameter, but advise not to use itPascal Rigaux2003-02-051-1/+1
|
* - perl_checker: add some more Gtk2 functionsPascal Rigaux2002-12-281-2/+2
| | | | | | - MDK::Common::File: mkdir_p, rm_rf and cp_af returns 1 on success (allowing "eval { mkdir_p() } or ...")
* new features including checking methods being available and unused functionsPascal Rigaux2002-12-181-1/+1
|
* perl_checker: new --generate-pot featurePascal Rigaux2002-12-101-7/+14
|
* perl_checker now checks usage of $_Pascal Rigaux2002-12-051-1/+3
|
* *** empty log message ***Pascal Rigaux2002-11-281-7/+7
|
* *** empty log message ***Pascal Rigaux2002-11-261-4/+13
|
* *** empty log message ***Pascal Rigaux2002-11-261-2/+2
|
* *** empty log message ***Pascal Rigaux2002-11-251-14/+15
|
* *** empty log message ***Pascal Rigaux2002-11-241-13/+32
|
* *** empty log message ***Pascal Rigaux2002-11-201-191/+298
|
* *** empty log message ***Pascal Rigaux2002-11-181-4/+4
|
* *** empty log message ***Pascal Rigaux2002-11-141-27/+23
|
* *** empty log message ***Pascal Rigaux2002-11-131-1/+1
|
* *** empty log message ***Pascal Rigaux2002-11-121-123/+304
|
* *** empty log message ***Pascal Rigaux2002-11-101-1/+1
|
* *** empty log message ***Pascal Rigaux2002-11-091-52/+135
|
* *** empty log message ***Pascal Rigaux2002-11-091-0/+423