array A_nextFree157 integer A_firstFree103 integer A_maxIndex185 array C_x183 integer wurst_stack_depth131 array wurst_stack186 integer A_firstFree103 = 0 integer A_maxIndex185 = 0 integer C_firstFree212 = 0 integer C_maxIndex149 = 0 integer wurst_stack_depth131 = 0 function initGlobals170() { } function main574() { local integer this941 initGlobals170(); wurst_stack_186[wurst_stack_depth_131] = "when calling init_Test in genericChain1, line 1"; wurst_stack_depth_131 = (wurst_stack_depth_131 + 1); wurst_stack_186[wurst_stack_depth_131] = "when calling new_A in genericChain1, line 7"; wurst_stack_depth_131 = (wurst_stack_depth_131 + 1); wurst_stack_186[wurst_stack_depth_131] = "when calling alloc_A in genericChain1, line 2"; wurst_stack_depth_131 = (wurst_stack_depth_131 + 1); if (A_firstFree_103 == 0) { if (A_maxIndex_185 < 32768) { A_maxIndex_185 = (A_maxIndex_185 + 1); this_941 = A_maxIndex_185; } else { error171("Out of memory: Could not create A.", "when calling error in genericChain1, line 2"); this_941 = 0; }; } else { A_firstFree_103 = (A_firstFree_103 - 1); this_941 = A_nextFree_157[A_firstFree_103]; }; wurst_stack_depth_131 = ((wurst_stack_depth_131 - 1) - 1); C_x_183[C_x_183[C_x_183[null]]] = this_941; wurst_stack_depth_131 = (wurst_stack_depth_131 - 1); } function config369() { } function error171(string msg193, string __wurst_stackPos166) { local integer stacktraceIndex778 local integer stacktraceLimit210 wurst_stack_186[wurst_stack_depth_131] = __wurst_stackPos_166; wurst_stack_depth_131 = (wurst_stack_depth_131 + 1); __wurst_stackPos_166 = ""; stacktraceIndex_778 = wurst_stack_depth_131; stacktraceLimit_210 = 0; loop { stacktraceIndex_778 = (stacktraceIndex_778 - 1); stacktraceLimit_210 = (stacktraceLimit_210 + 1); exitwhen ((stacktraceLimit_210 > 20) or (stacktraceIndex_778 < 0)); __wurst_stackPos_166 = (__wurst_stackPos_166 + (" " + wurst_stack_186[stacktraceIndex_778])); }; $debugPrint603((msg_193 + (" " + __wurst_stackPos_166))); wurst_stack_depth_131 = (wurst_stack_depth_131 - 1); }