| Age | Commit message (Collapse) | Author |
|
https://github.com/ruby/prism/commit/592128de4d
|
|
https://github.com/ruby/prism/commit/ab7f261354
|
|
Check that multibyte characters are valid using pm_strpbrk. We need
to add a couple of codepaths to ensure all encodings are covered.
Importantly this doesn't check regular expressions, because
apparently you're allowed to have invalid multibyte characters
inside regular expression comment groups/extended mode.
https://github.com/ruby/prism/commit/2857d3e1b5
|
|
https://github.com/ruby/prism/commit/06d3747c5b
|
|
This assert used to trip in the included test:
```
./miniruby --parser=prism -e ' "%W"\u" '
```
https://github.com/ruby/prism/commit/8c0f84db4f
|
|
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
|
|
https://github.com/ruby/prism/commit/6749146c0e
|
|
https://github.com/ruby/prism/commit/18e6df0d4f
|
|
https://github.com/ruby/prism/commit/e838eaff6f
|
|
https://github.com/ruby/prism/commit/b9510aed40
|
|
https://github.com/ruby/prism/commit/f4b7beadc9
|
|
https://github.com/ruby/prism/commit/c52c7f37ea
|
|
https://github.com/ruby/prism/commit/9461384b0c
|
|
|