diff options
Diffstat (limited to 'compiler/ccgutils.nim')
-rw-r--r-- | compiler/ccgutils.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/ccgutils.nim b/compiler/ccgutils.nim index 54af3c705..7396c0bf8 100644 --- a/compiler/ccgutils.nim +++ b/compiler/ccgutils.nim @@ -171,7 +171,7 @@ proc mangle*(name: string): string = ## Lowercases the given name and manges any non-alphanumeric characters ## so they are represented as `HEX____`. If the name starts with a number, ## `N` is prepended - result = "" + result = newStringOfCap(name.len) case name[0] of Letters: result.add(name[0].toLower) |