Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lib/B/Deparse.pm #1092

Closed
p5pRT opened this issue Jan 26, 2000 · 1 comment
Closed

lib/B/Deparse.pm #1092

p5pRT opened this issue Jan 26, 2000 · 1 comment

Comments

@p5pRT
Copy link

p5pRT commented Jan 26, 2000

Migrated from rt.perl.org#2045 (status was 'resolved')

Searchable as RT2045$

@p5pRT
Copy link
Author

p5pRT commented Jan 26, 2000

From @Abigail

This fixes some 'Use of unintialized variable' warnings generated by -w.

Abigail

*** lib/B/Deparse.pm.orig Sat Nov 13 04​:48​:25 1999
--- lib/B/Deparse.pm Wed Jan 26 14​:09​:34 2000
***************
*** 1194,1200 ****
  sub deparse_binop_left {
  my $self = shift;
  my($op, $left, $prec) = @​_;
! if ($left{assoc_class($op)}
  and $left{assoc_class($op)} == $left{assoc_class($left)})
  {
  return $self->deparse($left, $prec - .00001);
--- 1194,1200 ----
  sub deparse_binop_left {
  my $self = shift;
  my($op, $left, $prec) = @​_;
! if ($left{assoc_class($op)} && $left{assoc_class($left)}
  and $left{assoc_class($op)} == $left{assoc_class($left)})
  {
  return $self->deparse($left, $prec - .00001);
***************
*** 1227,1233 ****
  sub deparse_binop_right {
  my $self = shift;
  my($op, $right, $prec) = @​_;
! if ($right{assoc_class($op)}
  and $right{assoc_class($op)} == $right{assoc_class($right)})
  {
  return $self->deparse($right, $prec - .00001);
--- 1227,1233 ----
  sub deparse_binop_right {
  my $self = shift;
  my($op, $right, $prec) = @​_;
! if ($right{assoc_class($op)} && $right{assoc_class($right)}
  and $right{assoc_class($op)} == $right{assoc_class($right)})
  {
  return $self->deparse($right, $prec - .00001);

Perl Info


Site configuration information for perl 5.00563:

Configured by abigail at Wed Dec 22 17:25:59 EST 1999.

Summary of my perl5 (revision 5.0 version 5 subversion 63) configuration:
  Platform:
    osname=linux, osvers=2.2.13, archname=i686-linux
    uname='linux alexandra 2.2.13 #2 wed nov 3 12:57:15 est 1999 i686 unknown '
    config_args='-d -Dprefix=/opt/devperl -Uinstallusrbinperl -Doptimize=-g'
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=undef useperlio=undef d_sfio=undef
    use64bits=undef usemultiplicity=undef
  Compiler:
    cc='cc', optimize='-g', gccversion=2.95.2 19991024 (release)
    cppflags='-Dbool=char -DHAS_BOOL -DDEBUGGING -fno-strict-aliasing -I/usr/local/include'
    ccflags ='-Dbool=char -DHAS_BOOL -DDEBUGGING -fno-strict-aliasing -I/usr/local/include'
    stdchar='char', d_stdstdio=define, usevfork=false
    intsize=4, longsize=4, ptrsize=4, doublesize=8
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
    alignbytes=4, usemymalloc=n, prototype=define
  Linker and Libraries:
    ld='cc', ldflags =' -L/usr/local/lib'
    libpth=/usr/local/lib /lib /usr/lib
    libs=-lnsl -lndbm -lgdbm -ldbm -ldb -ldl -lm -lc -lposix -lcrypt
    libc=/lib/libc-2.1.2.so, so=so, useshrplib=false, libperl=libperl.a
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-rdynamic'
    cccdlflags='-fpic', lddlflags='-shared -L/usr/local/lib'

Locally applied patches:
    


@INC for perl 5.00563:
    /home/abigail/Perl
    /home/abigail/Sybase
    /opt/devperl/lib/5.00563/i686-linux
    /opt/devperl/lib/5.00563
    /opt/devperl/lib/site_perl/5.00563/i686-linux
    /opt/devperl/lib/site_perl
    .


Environment for perl 5.00563:
    HOME=/home/abigail
    LANG (unset)
    LANGUAGE (unset)
    LD_LIBRARY_PATH=/home/abigail/Lib:/usr/local/lib:/usr/lib:/lib:/usr/X11R6/lib
    LOGDIR (unset)
    PATH=/home/abigail/Bin:/opt/perl/bin:/usr/local/bin:/usr/local/X11/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/usr/X11R6/bin:/usr/games:/opt/povray/bin:/opt/teTeX/bin/i686-pc-linux-gnu
    PERL5LIB=/home/abigail/Perl:/home/abigail/Sybase
    PERLDIR=/opt/perl
    PERL_BADLANG (unset)
    SHELL=/bin/bash

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant