C++ compiler.
Small mistake in the compilation of global variables.
This commit is contained in:
Родитель
7af553b32b
Коммит
bd16ef1aae
|
@ -293,7 +293,7 @@ module TDev {
|
|||
|
||||
public visitGlobalDef(e: EmitterEnv, name: string, t: J.JTypeRef) {
|
||||
var x = H.defaultValueForType(this.libraryMap, t);
|
||||
return e.indent + H.mkType(e, this.libraryMap, t) + " " + H.manglePrefixedName(e, "globals", name) +
|
||||
return e.indent + H.mkType(e, this.libraryMap, t) + " " + H.mangleUnique(e, name, name) +
|
||||
(x ? " = " + x : "") + ";"
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче