Mercurial > projects > ldc
comparison dmd/module.c @ 957:31bbc7f3b817
Backed out changeset [369996c08420].
The argument and order dependent numbering of static ctors/dtors generally doesn't matter
because other modules shouldn't reference their symbols. The next changeset
will fix a LDC bug that caused such references within ModuleInfo.
author | Christian Kamm <kamm incasoftware de> |
---|---|
date | Sun, 15 Feb 2009 14:50:33 +0100 |
parents | 369996c08420 |
children | a8cb25d478c4 |
comparison
equal
deleted
inserted
replaced
956:369996c08420 | 957:31bbc7f3b817 |
---|---|
128 | 128 |
129 // LDC | 129 // LDC |
130 llvmForceLogging = false; | 130 llvmForceLogging = false; |
131 this->doDocComment = doDocComment; | 131 this->doDocComment = doDocComment; |
132 this->doHdrGen = doHdrGen; | 132 this->doHdrGen = doHdrGen; |
133 uniqueId = 0; | |
134 } | 133 } |
135 | 134 |
136 File* Module::buildFilePath(char* forcename, char* path, char* ext) | 135 File* Module::buildFilePath(char* forcename, char* path, char* ext) |
137 { | 136 { |
138 char *argobj; | 137 char *argobj; |
1006 *pparent = parent; | 1005 *pparent = parent; |
1007 } | 1006 } |
1008 } | 1007 } |
1009 return dst; | 1008 return dst; |
1010 } | 1009 } |
1011 | |
1012 Identifier* Module::generateId(Identifier* id) | |
1013 { | |
1014 return Identifier::generateId(id->string, uniqueId++); | |
1015 } |