summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2004-01-06 14:13:54 +0000
committerPascal Rigaux <pixel@mandriva.com>2004-01-06 14:13:54 +0000
commit31f8f7274b9d5d5597013648394fbadfa8d94646 (patch)
tree29de0bb1ab38e12bb585bf1796cf2e4af08ad55c
parent8dd17969584c03718373210c6f820cfd99b16469 (diff)
downloadperl_checker-31f8f7274b9d5d5597013648394fbadfa8d94646.tar
perl_checker-31f8f7274b9d5d5597013648394fbadfa8d94646.tar.gz
perl_checker-31f8f7274b9d5d5597013648394fbadfa8d94646.tar.bz2
perl_checker-31f8f7274b9d5d5597013648394fbadfa8d94646.tar.xz
perl_checker-31f8f7274b9d5d5597013648394fbadfa8d94646.zip
add sqrt, atan2, cos, sin
-rw-r--r--perl_checker.src/global_checks.ml6
1 files changed, 3 insertions, 3 deletions
diff --git a/perl_checker.src/global_checks.ml b/perl_checker.src/global_checks.ml
index 0b57966..6dfe2ba 100644
--- a/perl_checker.src/global_checks.ml
+++ b/perl_checker.src/global_checks.ml
@@ -161,8 +161,8 @@ let is_global_var context ident =
| I_func ->
(match ident with
| "-b" | "-d" | "-e" | "-f" | "-l" | "-r" | "-s" | "-w" | "-x"
- | "abs" | "alarm" | "bless"
- | "caller" | "chdir" | "chmod" | "chomp" | "chop" | "chown" | "chr" | "chroot" | "close" | "closedir" | "crypt"
+ | "abs" | "alarm" | "atan2" | "bless"
+ | "caller" | "chdir" | "chmod" | "chomp" | "chop" | "chown" | "chr" | "chroot" | "close" | "closedir" | "cos" | "crypt"
| "defined" | "delete" | "die"
| "each" | "endpwent" | "eof" | "eval" | "exec" | "exists" | "exit"
| "fcntl" | "fileno" | "flock" | "formline" | "fork"
@@ -172,7 +172,7 @@ let is_global_var context ident =
| "map" | "mkdir" | "next" | "no" | "oct" | "open" | "opendir" | "ord"
| "pack" | "pipe" | "pop" | "print" | "printf" | "push" | "quotemeta"
| "rand" | "read" | "readdir" | "readlink" | "redo" | "ref" | "rename" | "require" | "return" | "reverse" | "rindex" | "rmdir"
- | "scalar" | "seek" | "select" | "setpwent" | "shift" | "sleep" | "sort" | "splice" | "split" | "sprintf" | "stat" | "substr"
+ | "scalar" | "seek" | "select" | "setpwent" | "shift" | "sin" | "sleep" | "sort" | "splice" | "split" | "sprintf" | "sqrt" | "stat" | "substr"
| "symlink" | "syscall" | "sysopen" | "sysread" | "sysseek" | "system" | "syswrite" | "tie" | "time"
| "uc" | "ucfirst" | "umask" | "undef" | "unlink" | "unpack" | "unshift" | "utime" | "values" | "vec" | "wait" | "waitpid" | "wantarray" | "warn" | "write"
-> true