| 109 | } |
| 110 | |
| 111 | void asCCompiler::Reset(asCBuilder *in_builder, asCScriptCode *in_script, asCScriptFunction *in_outFunc) |
| 112 | { |
| 113 | this->builder = in_builder; |
| 114 | this->engine = in_builder->engine; |
| 115 | this->script = in_script; |
| 116 | this->outFunc = in_outFunc; |
| 117 | |
| 118 | hasCompileErrors = false; |
| 119 | |
| 120 | m_isConstructor = false; |
| 121 | m_isConstructorCalled = false; |
| 122 | m_classDecl = 0; |
| 123 | m_globalVar = 0; |
| 124 | |
| 125 | nextLabel = 0; |
| 126 | breakLabels.SetLength(0); |
| 127 | continueLabels.SetLength(0); |
| 128 | |
| 129 | numLambdas = 0; |
| 130 | |
| 131 | byteCode.ClearAll(); |
| 132 | } |
| 133 | |
| 134 | int asCCompiler::CompileDefaultConstructor(asCBuilder *in_builder, asCScriptCode *in_script, asCScriptNode *in_node, asCScriptFunction *in_outFunc, sClassDeclaration *in_classDecl) |
| 135 | { |