[ruby-cvs:69052] mame:r61871 (trunk): node.c: Stop double meaning of NODE_FOR by introducing NODE_FOR_MASGN

mame at ruby-lang.org mame at ruby-lang.org
Tue Jan 16 16:24:53 JST 2018


mame	2018-01-16 16:24:53 +0900 (Tue, 16 Jan 2018)

  New Revision: 61871

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

  Log:
    node.c: Stop double meaning of NODE_FOR by introducing NODE_FOR_MASGN
    
    NODE_FOR was used both for "for"-statement itself and for
    multi-assignment of for-statement (for x, y, in...end).
    This change separates the two purposes, NODE_FOR for the former, and
    newly introduced NODE_FOR_MASGN for the latter.

  Modified files:
    trunk/compile.c
    trunk/ext/-test-/ast/ast.c
    trunk/ext/objspace/objspace.c
    trunk/node.c
    trunk/node.h
    trunk/parse.y


More information about the ruby-cvs mailing list