Commit c0ca4c8
committed
S_scan_ident: Char in middle needt not be IDStart
This fixes a bug in this function, in which it required the second
character in an identifier to be IDStart, instead of IDCont. This
hasn't been caught because most identifiers are ASCII, and generally for
the purposes of this function in the ASCII range, all \w characters can
be IDStart.1 parent 3ee55a2 commit c0ca4c8
2 files changed
+26
-14
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| |||
673 | 673 | | |
674 | 674 | | |
675 | 675 | | |
| 676 | + | |
| 677 | + | |
| 678 | + | |
| 679 | + | |
| 680 | + | |
| 681 | + | |
| 682 | + | |
| 683 | + | |
| 684 | + | |
| 685 | + | |
| 686 | + | |
| 687 | + | |
676 | 688 | | |
677 | 689 | | |
678 | 690 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10933 | 10933 | | |
10934 | 10934 | | |
10935 | 10935 | | |
10936 | | - | |
10937 | | - | |
10938 | | - | |
10939 | | - | |
10940 | | - | |
| 10936 | + | |
| 10937 | + | |
| 10938 | + | |
| 10939 | + | |
10941 | 10940 | | |
10942 | 10941 | | |
10943 | | - | |
| 10942 | + | |
10944 | 10943 | | |
10945 | 10944 | | |
10946 | 10945 | | |
10947 | 10946 | | |
10948 | | - | |
| 10947 | + | |
| 10948 | + | |
| 10949 | + | |
| 10950 | + | |
| 10951 | + | |
10949 | 10952 | | |
10950 | | - | |
10951 | | - | |
10952 | | - | |
10953 | | - | |
10954 | | - | |
10955 | | - | |
| 10953 | + | |
| 10954 | + | |
| 10955 | + | |
10956 | 10956 | | |
10957 | 10957 | | |
10958 | 10958 | | |
| |||
0 commit comments