array C_nextFree194 integer C_firstFree891 integer C_maxIndex109 integer D_firstFree782 integer D_maxIndex174 integer wurst_stack_depth924 array wurst_stack192 integer C_firstFree891 = 0 integer C_maxIndex109 = 0 integer D_firstFree782 = 0 integer D_maxIndex174 = 0 integer wurst_stack_depth924 = 0 function initGlobals163() { } function main364() { initGlobals163(); init_test159("when calling init_test in genericInception, line 2"); } function config151() { } function init_test159(string __wurst_stackPos373) { wurst_stack_192[wurst_stack_depth_924] = __wurst_stackPos_373; wurst_stack_depth_924 = (wurst_stack_depth_924 + 1); new_C650("when calling new_C in genericInception, line 10"); wurst_stack_192[wurst_stack_depth_924] = "when calling new_D in genericInception, line 11"; wurst_stack_depth_924 = (wurst_stack_depth_924 + 1); wurst_stack_192[wurst_stack_depth_924] = "when calling alloc_D in genericInception, line 8"; wurst_stack_depth_924 = (wurst_stack_depth_924 + 1); if (D_firstFree_782 == 0) { if (D_maxIndex_174 < 32768) { D_maxIndex_174 = (D_maxIndex_174 + 1); } else { error149("Out of memory: Could not create D.", "when calling error in genericInception, line 8"); }; } else { D_firstFree_782 = (D_firstFree_782 - 1); }; wurst_stack_depth_924 = (wurst_stack_depth_924 - 1); wurst_stack_depth_924 = ((wurst_stack_depth_924 - 1) - 1); } function new_C650(string __wurst_stackPos166) returns integer { local integer this134 wurst_stack_192[wurst_stack_depth_924] = __wurst_stackPos_166; wurst_stack_depth_924 = (wurst_stack_depth_924 + 1); wurst_stack_192[wurst_stack_depth_924] = "when calling alloc_C in genericInception, line 6"; wurst_stack_depth_924 = (wurst_stack_depth_924 + 1); if (C_firstFree_891 == 0) { if (C_maxIndex_109 < 32768) { C_maxIndex_109 = (C_maxIndex_109 + 1); this_134 = C_maxIndex_109; } else { error149("Out of memory: Could not create C.", "when calling error in genericInception, line 6"); this_134 = 0; }; } else { C_firstFree_891 = (C_firstFree_891 - 1); this_134 = C_nextFree_194[C_firstFree_891]; }; wurst_stack_depth_924 = ((wurst_stack_depth_924 - 1) - 1); return this_134; } function error149(string msg186, string __wurst_stackPos509) { local integer stacktraceIndex649 local integer stacktraceLimit936 wurst_stack_192[wurst_stack_depth_924] = __wurst_stackPos_509; wurst_stack_depth_924 = (wurst_stack_depth_924 + 1); __wurst_stackPos_509 = ""; stacktraceIndex_649 = wurst_stack_depth_924; stacktraceLimit_936 = 0; loop { stacktraceIndex_649 = (stacktraceIndex_649 - 1); stacktraceLimit_936 = (stacktraceLimit_936 + 1); exitwhen ((stacktraceLimit_936 > 20) or (stacktraceIndex_649 < 0)); __wurst_stackPos_509 = (__wurst_stackPos_509 + (" " + wurst_stack_192[stacktraceIndex_649])); }; $debugPrint543((msg_186 + (" " + __wurst_stackPos_509))); wurst_stack_depth_924 = (wurst_stack_depth_924 - 1); }