summaryrefslogtreecommitdiffstats
path: root/perl_checker.src/lexer.mll
Commit message (Collapse)AuthorAgeFilesLines
* - make <<"EOF" a warning, not an error (and adapt test for it)Pascal Rigaux2005-11-251-6/+9
| | | | | - fix warning "Trailing spaces after HERE-document mark" (was on stderr)
* - ugly hack to workaround uniop calls priority pb, but at least have a ↵Pascal Rigaux2004-12-131-0/+1
| | | | | | | P_uniop instead of using P_mul - add delete as a uniop
* really help detecting hashrefsPascal Rigaux2004-11-261-2/+2
|
* force { zzz => ... } to be a hash refPascal Rigaux2004-11-261-0/+9
|
* \z and \Z are zero-width assertions in regexpsPascal Rigaux2004-11-171-1/+1
|
* allow disabling warnings on command-line (and have various warnings level)Pascal Rigaux2004-11-101-20/+20
|
* handle __DATA__ thanks to RafaelPascal Rigaux2004-10-201-0/+1
|
* "^" has a special meaning in regexps, so escaping it can be necessaryPascal Rigaux2004-10-141-1/+1
|
* handle qx(...) and qx{...} with a warningPascal Rigaux2004-10-131-1/+6
|
* allow qq{...} (with a warning)Pascal Rigaux2004-10-131-18/+23
|
* handle q{...} and qw{...} (with a warning)Pascal Rigaux2004-10-131-7/+25
|
* transform m@...@ and m:...: from errors into warnings (since we can handle ↵Pascal Rigaux2004-10-131-5/+8
| | | | it quite cleanly)
* handle s:xxx:yyy: and qw/.../, issuing a warningPascal Rigaux2004-08-121-1/+10
| | | | | (hopefully the ':' added in pattern_separator won't break other lex rules...)
* don't tell to replace \: with : in "$foo\::" and /$foo\::/Pascal Rigaux2004-04-281-2/+2
|
* handle bad PO-: comments at the lexical level instead of doing it in the grammarPascal Rigaux2004-04-281-9/+23
| | | | | to have a better error message
* handle "format" perl instructionPascal Rigaux2004-01-221-3/+4
|
* fix reported position of variables in stringsPascal Rigaux2004-01-051-0/+2
|
* handle \\$aPascal Rigaux2004-01-051-2/+2
|
* "@hash{@l}" is ''. @hash{@l} .'', and not ''. @hash .'{'. @l .'}'Pascal Rigaux2003-12-161-3/+6
|
* handle __END__Pascal Rigaux2003-12-161-0/+1
|
* 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 ...")