We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6dbdc9e commit 2be1717Copy full SHA for 2be1717
javascript/extractor/src/com/semmle/jcorn/Identifiers.java
@@ -115,7 +115,7 @@ private static Pattern nonASCIIidentifier() {
115
// rare.
116
private static boolean isInAstralSet(int code, int[] set) {
117
int pos = 0x10000;
118
- for (int i = 0; i < set.length; i += 2) {
+ for (int i = 0; i < set.length - 1; i += 2) {
119
pos += set[i];
120
if (pos > code) return false;
121
pos += set[i + 1];
0 commit comments