Shared: fix typo in a comment

This commit is contained in:
Asger Feldthaus
2022-02-22 12:58:35 +01:00
parent bb9348d77f
commit f1bfb31403
4 changed files with 4 additions and 4 deletions

View File

@@ -71,7 +71,7 @@ module AccessPath {
regexpCaptureTwo(arg, "(-?\\d+)\\.\\.N-(\\d+)", lo, hi) and
result = [lo.toInt() .. arity - hi.toInt()]
or
// N-x..Ny
// N-x..N-y
regexpCaptureTwo(arg, "N-(\\d+)\\.\\.N-(\\d+)", lo, hi) and
result = [arity - lo.toInt() .. arity - hi.toInt()] and
result >= 0