[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ruby-cvs
Subject:    [ruby-cvs] ruby: * eval.c, intern.h (rb_svar): return reference to special variable
From:       cvs-admin () ruby-lang ! org (nobu)
Date:       2001-09-20 6:23:50
[Download RAW message or body]

nobu        Thu, 20 Sep 2001 06:23:50 +0000

  Modified files:
    ruby:
      eval.c intern.h parse.y re.c
  Log:
    * eval.c, intern.h (rb_svar): return reference to special variable
      from local variable index. [new]
    
    * eval.c (rb_eval): use rb_svar() for NODE_FLIP{2,3}.
    
    * parse.y (rb_(backref|lastline)_(get|set)): access via rb_svar().
    
    * eval.c (proc_invoke): push dynamic variables.
    
    * eval.c (rb_thread_yield): push special variables as dynamic
      variables($_, $~ and FLIP states).
    
    
    * intern.h, parse.y (rb_is_local_id): return true if the ID is
      local symbol. [new]
    
    * parse.y (internal_id): make new ID for internal use. [new]
    
    * parse.y (cond0): allocate internal ID for NODE_FLIP{2,3}.
    
    * eval.c (rb_f_local_variables): use rb_is_local_id() to select
      visible local variables.
    
    
    * eval.c (rb_thread_start_0): SCOPE_SHARED is removed.
    
    * eval.c, intern.h (rb_thread_scope_shared_p): removed. special
      variables are no longer shared by threads.
    
    * re.c (rb_reg_search): MATCHDATA is no longer shared by threads.
  
  Revision    Changes    Path
  1.205       +66  -37   ruby/eval.c
    http://www.ruby-lang.org/cgi-bin/cvsweb.cgi/ruby/eval.c?cvsroot=src&r1=1.204&r2=1.205
  1.65        +3   -2    ruby/intern.h
    http://www.ruby-lang.org/cgi-bin/cvsweb.cgi/ruby/intern.h?cvsroot=src&r1=1.64&r2=1.65
  1.121       +34  -11   ruby/parse.y
    http://www.ruby-lang.org/cgi-bin/cvsweb.cgi/ruby/parse.y?cvsroot=src&r1=1.120&r2=1.121
  1.46        +1   -6    ruby/re.c
    http://www.ruby-lang.org/cgi-bin/cvsweb.cgi/ruby/re.c?cvsroot=src&r1=1.45&r2=1.46
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic