Mercurial > projects > qtd
comparison generator/typesystem.cpp @ 304:04b52676b45f signals
fixed compiling all packages
author | eldar_ins@eldar-laptop |
---|---|
date | Sun, 13 Dec 2009 06:24:55 +0500 |
parents | bc783e20da2b |
children | 4920ef9206fe |
comparison
equal
deleted
inserted
replaced
303:98b211f3ee34 | 304:04b52676b45f |
---|---|
94 Replace = 0xf00, | 94 Replace = 0xf00, |
95 SimpleMask = 0xf00, | 95 SimpleMask = 0xf00, |
96 // qtd stuff | 96 // qtd stuff |
97 AddClass = 0x1100, | 97 AddClass = 0x1100, |
98 PackageDepend = 0x1200, | 98 PackageDepend = 0x1200, |
99 PrivateCopyConstructor = 0x1300, | |
99 | 100 |
100 // Code snip tags (0x1000, 0x2000, ... , 0xf000) | 101 // Code snip tags (0x1000, 0x2000, ... , 0xf000) |
101 InjectCode = 0x1000, | 102 InjectCode = 0x1000, |
102 InjectCodeInFunction = 0x2000, | 103 InjectCodeInFunction = 0x2000, |
103 CodeSnipMask = 0xf000, | 104 CodeSnipMask = 0xf000, |
161 tagNames["access"] = StackElement::Access; | 162 tagNames["access"] = StackElement::Access; |
162 tagNames["remove"] = StackElement::Removal; | 163 tagNames["remove"] = StackElement::Removal; |
163 tagNames["rename"] = StackElement::Rename; | 164 tagNames["rename"] = StackElement::Rename; |
164 tagNames["typesystem"] = StackElement::Root; | 165 tagNames["typesystem"] = StackElement::Root; |
165 tagNames["custom-constructor"] = StackElement::CustomMetaConstructor; | 166 tagNames["custom-constructor"] = StackElement::CustomMetaConstructor; |
167 tagNames["private-copy-constructor"] = StackElement::PrivateCopyConstructor; | |
166 tagNames["custom-destructor"] = StackElement::CustomMetaDestructor; | 168 tagNames["custom-destructor"] = StackElement::CustomMetaDestructor; |
167 tagNames["argument-map"] = StackElement::ArgumentMap; | 169 tagNames["argument-map"] = StackElement::ArgumentMap; |
168 tagNames["suppress-warning"] = StackElement::SuppressedWarning; | 170 tagNames["suppress-warning"] = StackElement::SuppressedWarning; |
169 tagNames["load-typesystem"] = StackElement::LoadTypesystem; | 171 tagNames["load-typesystem"] = StackElement::LoadTypesystem; |
170 tagNames["define-ownership"] = StackElement::DefineOwnership; | 172 tagNames["define-ownership"] = StackElement::DefineOwnership; |
297 { | 299 { |
298 current->entry->setCustomConstructor(*current->value.customFunction); | 300 current->entry->setCustomConstructor(*current->value.customFunction); |
299 delete current->value.customFunction; | 301 delete current->value.customFunction; |
300 } | 302 } |
301 break; | 303 break; |
304 case StackElement::PrivateCopyConstructor: | |
305 { | |
306 current->entry->setHasPrivateCopyConstructor(true); | |
307 } | |
308 break; | |
302 case StackElement::CustomMetaDestructor: | 309 case StackElement::CustomMetaDestructor: |
303 { | 310 { |
304 current->entry->setCustomDestructor(*current->value.customFunction); | 311 current->entry->setCustomDestructor(*current->value.customFunction); |
305 delete current->value.customFunction; | 312 delete current->value.customFunction; |
306 } | 313 } |