[ruby-cvs:65424] nobu:r58253 (trunk): compile.c: remove side effects by debug macros

nobu at ruby-lang.org nobu at ruby-lang.org
Wed Apr 5 17:34:18 JST 2017


nobu	2017-04-05 17:34:18 +0900 (Wed, 05 Apr 2017)

  New Revision: 58253

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

  Log:
    compile.c: remove side effects by debug macros
    
    * compile.c (debugp_param): do not evaluate arguments of debug
      macros, unless the debug mode is enabled.  these macros should
      not have side effects.

  Modified files:
    trunk/compile.c


More information about the ruby-cvs mailing list