mirror of
https://github.com/github/codeql.git
synced 2026-05-05 05:35:13 +02:00
fix off-by-one
This commit is contained in:
@@ -2709,7 +2709,7 @@ public class Parser {
|
||||
m.find(this.pos);
|
||||
int next = m.end();
|
||||
return !Whitespace.lineBreakG.matcher(inputSubstring(this.pos, next)).matches()
|
||||
&& Identifiers.isIdentifierChar(this.input.codePointAt(next + 1), false);
|
||||
&& Identifiers.isIdentifierChar(this.input.codePointAt(next), false);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user