remove isKeywordIgnoreCase from highlite, not used , can't even compile with -d:useNimRtl (#18399)

This commit is contained in:
Bung 2021-06-30 13:28:41 +08:00 • committed by GitHub
commit 16f0b55664
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -188,9 +188,6 @@ const
proc isKeyword(x: openArray[string], y: string): int = proc isKeyword(x: openArray[string], y: string): int =
binarySearch(x, y) binarySearch(x, y)
proc isKeywordIgnoreCase(x: openArray[string], y: string): int =
binarySearch(x, y, cmpIgnoreCase)
proc nimNextToken(g: var GeneralTokenizer, keywords: openArray[string] = @[]) = proc nimNextToken(g: var GeneralTokenizer, keywords: openArray[string] = @[]) =
const const
hexChars = {'0'..'9', 'A'..'F', 'a'..'f', '_'} hexChars = {'0'..'9', 'A'..'F', 'a'..'f', '_'}