-
-
Save flaviut/52539e4a24d6e84c8b14 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/compiler/ccgtypes.nim b/compiler/ccgtypes.nim | |
index 70eced0..7c11d3e 100644 | |
--- a/compiler/ccgtypes.nim | |
+++ b/compiler/ccgtypes.nim | |
@@ -13,7 +13,7 @@ | |
proc mangleField(name: string): string = | |
result = mangle(name) | |
- if name[0] in Letters: | |
+ if name[0] in 'a'..'z': | |
result[0] = name[0].toUpper | |
proc isKeyword(w: PIdent): bool = |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment