[ruby-cvs:71210] shyouhei:r64118 (trunk): reduce copy & paste

shyouhei at ruby-lang.org shyouhei at ruby-lang.org
Mon Jul 30 16:07:48 JST 2018


shyouhei	2018-07-30 16:07:48 +0900 (Mon, 30 Jul 2018)

  New Revision: 64118

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

  Log:
    reduce copy & paste
    
    We see several occurrence of "diagnostic push/pop" so why not
    make them macros.  Tested on GCC8 / Clang 6.
    
    Note that ruby.h is intentionally left untouched because we don't
    want to introduce new public macros.

  Modified files:
    trunk/cont.c
    trunk/dln.c
    trunk/eval_intern.h
    trunk/internal.h
    trunk/mjit.c
    trunk/process.c
    trunk/template/prelude.c.tmpl


More information about the ruby-cvs mailing list