[ruby-cvs:68664] nobu:r61483 (trunk): parse.y: warning for locations

nobu at ruby-lang.org nobu at ruby-lang.org
Tue Dec 26 19:10:41 JST 2017


nobu	2017-12-26 19:10:41 +0900 (Tue, 26 Dec 2017)

  New Revision: 61483

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

  Log:
    parse.y: warning for locations
    
    * parse.y (gettable_gen): warn for __FILE__/__LINE__ when eval
      with binding only.  promote use of Binding#source_location
      instead.

  Modified files:
    trunk/parse.y
    trunk/test/ruby/test_eval.rb
    trunk/vm_eval.c


More information about the ruby-cvs mailing list