[ruby-cvs:66763] nobu:r59585 (trunk): parse.y: set used flag in gettable

nobu at ruby-lang.org nobu at ruby-lang.org
Sun Aug 13 22:34:26 JST 2017


nobu	2017-08-13 22:34:26 +0900 (Sun, 13 Aug 2017)

  New Revision: 59585

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=59585

  Log:
    parse.y: set used flag in gettable
    
    * parse.y (dvar_defined_ref, dvar_defined): rename macros.  only
      gettable uses the former.  assignable should not set LVAR_USED
      flag.
    
    * parse.y (gettable_gen): set used flag on local/dynamic variables
      instead of setting in lexer.  [ruby-core:82368] [Bug #13809]

  Modified files:
    trunk/parse.y
    trunk/test/ruby/test_parse.rb


More information about the ruby-cvs mailing list