From faf98f9084397e55706fbea632d5dd9432d68f92 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Mon, 11 Aug 2003 02:11:29 +0000 Subject: - allow $_o_XXX parameter name which is both unused and optional (same for $_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) --- perl_checker.src/lexer.mll | 1 + 1 file changed, 1 insertion(+) (limited to 'perl_checker.src/lexer.mll') diff --git a/perl_checker.src/lexer.mll b/perl_checker.src/lexer.mll index 0153374..d0a2152 100644 --- a/perl_checker.src/lexer.mll +++ b/perl_checker.src/lexer.mll @@ -455,6 +455,7 @@ rule token = parse | "length" | "keys" | "exists" +| "shift" | "eval" | "ref" { ONE_SCALAR_PARA(lexeme lexbuf, pos lexbuf) } -- cgit v1.2.1