Skip to content

Commit f1bfb31

Browse files
committed
Shared: fix typo in a comment
1 parent bb9348d commit f1bfb31

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

csharp/ql/lib/semmle/code/csharp/dataflow/internal/AccessPathSyntax.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ module AccessPath {
7171
regexpCaptureTwo(arg, "(-?\\d+)\\.\\.N-(\\d+)", lo, hi) and
7272
result = [lo.toInt() .. arity - hi.toInt()]
7373
or
74-
// N-x..Ny
74+
// N-x..N-y
7575
regexpCaptureTwo(arg, "N-(\\d+)\\.\\.N-(\\d+)", lo, hi) and
7676
result = [arity - lo.toInt() .. arity - hi.toInt()] and
7777
result >= 0

java/ql/lib/semmle/code/java/dataflow/internal/AccessPathSyntax.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ module AccessPath {
7171
regexpCaptureTwo(arg, "(-?\\d+)\\.\\.N-(\\d+)", lo, hi) and
7272
result = [lo.toInt() .. arity - hi.toInt()]
7373
or
74-
// N-x..Ny
74+
// N-x..N-y
7575
regexpCaptureTwo(arg, "N-(\\d+)\\.\\.N-(\\d+)", lo, hi) and
7676
result = [arity - lo.toInt() .. arity - hi.toInt()] and
7777
result >= 0

javascript/ql/lib/semmle/javascript/frameworks/data/internal/AccessPathSyntax.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ module AccessPath {
7171
regexpCaptureTwo(arg, "(-?\\d+)\\.\\.N-(\\d+)", lo, hi) and
7272
result = [lo.toInt() .. arity - hi.toInt()]
7373
or
74-
// N-x..Ny
74+
// N-x..N-y
7575
regexpCaptureTwo(arg, "N-(\\d+)\\.\\.N-(\\d+)", lo, hi) and
7676
result = [arity - lo.toInt() .. arity - hi.toInt()] and
7777
result >= 0

ruby/ql/lib/codeql/ruby/dataflow/internal/AccessPathSyntax.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ module AccessPath {
7171
regexpCaptureTwo(arg, "(-?\\d+)\\.\\.N-(\\d+)", lo, hi) and
7272
result = [lo.toInt() .. arity - hi.toInt()]
7373
or
74-
// N-x..Ny
74+
// N-x..N-y
7575
regexpCaptureTwo(arg, "N-(\\d+)\\.\\.N-(\\d+)", lo, hi) and
7676
result = [arity - lo.toInt() .. arity - hi.toInt()] and
7777
result >= 0

0 commit comments

Comments
 (0)