[ruby-cvs:69143] mame:r61962 (trunk): parse.y: swap `foo!` and `foo` in Ripper DSL

mame at ruby-lang.org mame at ruby-lang.org
Sat Jan 20 00:22:37 JST 2018


mame	2018-01-20 00:22:36 +0900 (Sat, 20 Jan 2018)

  New Revision: 61962

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

  Log:
    parse.y: swap `foo!` and `foo` in Ripper DSL
    
    `foo!(...)` means Ripper event, and `foo(...)` means C function/macro
    call.  This is for fail-safe; if I forget `!` accidentally, it would
    fail to compile, instead of wrongly adding a new Ripper event.

  Modified files:
    trunk/ext/ripper/tools/dsl.rb
    trunk/parse.y


More information about the ruby-cvs mailing list