-
-
Save flaviut/6cafd2e4f0249c82b117 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 7c11d3e..70eced0 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 'a'..'z': | |
| + if name[0] in Letters: | |
| 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