Project

General

Profile

« Previous | Next » 

Revision 9fdfdf4f

Added by Eregon (Benoit Daloze) almost 2 years ago

[ruby/prism] Always return the character width for char_is_identifier_start() and char_is_identifier_utf8()

  • This is also faster than calling pm_encoding_utf_8_alpha_char/pm_encoding_utf_8_alnum_char
    as those compute the character width and do extra checks.

https://github.com/ruby/prism/commit/4cb276ac4c