Commit 2976415
[ruby/prism] Fix multibyte non-alphanumeric chars for bare percent string literals
Alphanumerics are correctly handled in the check below
by simply discarding the `%`.
The same was not true for the other types, which caused some assumption to no longer hold.
ruby/prism@69a9a36a6a1 parent 99b9983 commit 2976415
3 files changed
Lines changed: 9 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11094 | 11094 | | |
11095 | 11095 | | |
11096 | 11096 | | |
| 11097 | + | |
11097 | 11098 | | |
11098 | 11099 | | |
11099 | 11100 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
0 commit comments