[ruby-cvs:73370] duerst:r66269 (trunk): convert check for array length to assertion and comment out

duerst at ruby-lang.org duerst at ruby-lang.org
Fri Dec 7 16:20:26 JST 2018


duerst	2018-12-07 16:20:26 +0900 (Fri, 07 Dec 2018)

  New Revision: 66269

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

  Log:
    convert check for array length to assertion and comment out
    
    In regparse.c, in function node_extended_grapheme_cluster,
    we used a raw if() with exit(1) as a cross-check for our
    length calculations for the common node array. Convert this
    to an assertion and comment it out because it is not needed
    for active code.

  Modified files:
    trunk/regparse.c


More information about the ruby-cvs mailing list