[ruby-cvs:67836] mame:r60655 (trunk): Introduce rb_code_range_t and replace YYLTYPE with it

mame at ruby-lang.org mame at ruby-lang.org
Sun Nov 5 01:34:00 JST 2017


mame	2017-11-05 01:34:00 +0900 (Sun, 05 Nov 2017)

  New Revision: 60655

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

  Log:
    Introduce rb_code_range_t and replace YYLTYPE with it
    
    rb_code_range_t has two t_code_location_t, i.e., the first and last
    locations.
    
    This is used for YYLTYPE, tracked locations of bison, and will be also
    used for representing the "range", the first and the last locations of
    each NODE.  Currently, each NODE keeps only the first location, though.

  Modified files:
    trunk/node.h
    trunk/parse.y


More information about the ruby-cvs mailing list