[ruby-cvs:69171] mame:r61990 (trunk): parse.y: rewrite excessed_comma process

mame at ruby-lang.org mame at ruby-lang.org
Sun Jan 21 01:21:29 JST 2018


mame	2018-01-21 01:21:29 +0900 (Sun, 21 Jan 2018)

  New Revision: 61990

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

  Log:
    parse.y: rewrite excessed_comma process
    
    Currently, parser.y includes core parser and Ripper parser obscurity.
    In addition, *some* Ripper code uses the result of the core parser,
    which make it difficult to separate the two parsers.
    
    I want to simplify this, not by separating the two parsers, but by
    making *all* Ripper actions follows the core parser actions.
    In other words, all the core parser actions run always even in Ripper,
    and after that, Ripper-specific actions run.
    
    For tha sake, in principle, I want to put `/*% ripper: ... %*/` in the
    end of actions.
    Anyway, it is too dirty to put it within expressions, IMO.

  Modified files:
    trunk/parse.y


More information about the ruby-cvs mailing list