mirror of
https://github.com/github/codeql.git
synced 2026-05-05 21:55:19 +02:00
Address review comments
This commit is contained in:
@@ -13,7 +13,7 @@ bindingset[input]
|
||||
int parseOctal(string input) {
|
||||
input.regexpMatch("0[0-7]+") and
|
||||
result =
|
||||
sum(int ix |
|
||||
strictsum(int ix |
|
||||
ix in [1 .. input.length()]
|
||||
|
|
||||
8.pow(input.length() - (ix + 1)) * input.charAt(ix).toInt()
|
||||
|
||||
Reference in New Issue
Block a user