Fix #1226
This commit is contained in:
parent
b54f66eeff
commit
056c78020b
1 changed files with 1 additions and 2 deletions
|
|
@ -13,8 +13,7 @@
|
||||||
|
|
||||||
proc mangleField(name: string): string =
|
proc mangleField(name: string): string =
|
||||||
result = mangle(name)
|
result = mangle(name)
|
||||||
if name[0] in 'a'..'z':
|
result[0] = result[0].toUpper
|
||||||
result[0] = name[0].toUpper
|
|
||||||
|
|
||||||
proc isKeyword(w: PIdent): bool =
|
proc isKeyword(w: PIdent): bool =
|
||||||
# nimrod and C++ share some keywords
|
# nimrod and C++ share some keywords
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue