Commit 8baaece
committed
[ruby/prism] [Bug #21831] Fix denominator of rational float literal
Denominators can contain underscores in fraction part as well as other
numeric literals.
[Bug #21831]: https://bugs.ruby-lang.org/issues/21831
ruby/prism@e247cb58c71 parent a071078 commit 8baaece
File tree
3 files changed
+22
-2
lines changed- prism
- test
- prism/result
- ruby
3 files changed
+22
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3962 | 3962 | | |
3963 | 3963 | | |
3964 | 3964 | | |
| 3965 | + | |
| 3966 | + | |
| 3967 | + | |
| 3968 | + | |
3965 | 3969 | | |
3966 | | - | |
3967 | | - | |
| 3970 | + | |
| 3971 | + | |
3968 | 3972 | | |
3969 | 3973 | | |
3970 | 3974 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
9 | 10 | | |
| 11 | + | |
10 | 12 | | |
| 13 | + | |
11 | 14 | | |
| 15 | + | |
12 | 16 | | |
| 17 | + | |
13 | 18 | | |
| 19 | + | |
14 | 20 | | |
| 21 | + | |
15 | 22 | | |
| 23 | + | |
16 | 24 | | |
| 25 | + | |
17 | 26 | | |
| 27 | + | |
18 | 28 | | |
| 29 | + | |
19 | 30 | | |
20 | 31 | | |
21 | 32 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
682 | 682 | | |
683 | 683 | | |
684 | 684 | | |
| 685 | + | |
| 686 | + | |
| 687 | + | |
| 688 | + | |
| 689 | + | |
685 | 690 | | |
686 | 691 | | |
687 | 692 | | |
| |||
0 commit comments