array A_nextFree168 integer A_firstFree221 integer A_maxIndex149 array C_x490 integer wurst_stack_depth105 array wurst_stack178 integer A_firstFree221 = 0 integer A_maxIndex149 = 0 integer C_firstFree189 = 0 integer C_maxIndex159 = 0 integer wurst_stack_depth105 = 0 function initGlobals136() { } function main176() { local integer this149 initGlobals136(); wurst_stack_178[wurst_stack_depth_105] = "when calling init_Test in genericChain1, line 1"; wurst_stack_depth_105 = (wurst_stack_depth_105 + 1); wurst_stack_178[wurst_stack_depth_105] = "when calling new_A in genericChain1, line 7"; wurst_stack_depth_105 = (wurst_stack_depth_105 + 1); wurst_stack_178[wurst_stack_depth_105] = "when calling alloc_A in genericChain1, line 2"; wurst_stack_depth_105 = (wurst_stack_depth_105 + 1); if (A_firstFree_221 == 0) { if (A_maxIndex_149 < 32768) { A_maxIndex_149 = (A_maxIndex_149 + 1); this_149 = A_maxIndex_149; } else { error176("Out of memory: Could not create A.", "when calling error in genericChain1, line 2"); this_149 = 0; }; } else { A_firstFree_221 = (A_firstFree_221 - 1); this_149 = A_nextFree_168[A_firstFree_221]; }; wurst_stack_depth_105 = ((wurst_stack_depth_105 - 1) - 1); C_x_490[C_x_490[C_x_490[null]]] = this_149; wurst_stack_depth_105 = (wurst_stack_depth_105 - 1); } function config199() { } function error176(string msg452, string __wurst_stackPos210) { local integer stacktraceIndex706 local integer stacktraceLimit172 wurst_stack_178[wurst_stack_depth_105] = __wurst_stackPos_210; wurst_stack_depth_105 = (wurst_stack_depth_105 + 1); __wurst_stackPos_210 = ""; stacktraceIndex_706 = wurst_stack_depth_105; stacktraceLimit_172 = 0; loop { stacktraceIndex_706 = (stacktraceIndex_706 - 1); stacktraceLimit_172 = (stacktraceLimit_172 + 1); exitwhen ((stacktraceLimit_172 > 20) or (stacktraceIndex_706 < 0)); __wurst_stackPos_210 = (__wurst_stackPos_210 + (" " + wurst_stack_178[stacktraceIndex_706])); }; $debugPrint285((msg_452 + (" " + __wurst_stackPos_210))); wurst_stack_depth_105 = (wurst_stack_depth_105 - 1); }