Skip to content

Commit

Permalink
Fix broken lexical storage allocation for BEGIN-time called subs
Browse files Browse the repository at this point in the history
  • Loading branch information
sorear committed Oct 31, 2011
1 parent ac863e4 commit 5940076
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/Kernel.cs
Expand Up @@ -721,6 +721,8 @@ public sealed class RuntimeUnit : IFreeze {
SetConstants(eu.Finish(), eu.constants);

th.code = th.info.code;
if (th.info.nspill > 0)
th.lexn = new object[th.info.nspill];

return th;
}
Expand Down

0 comments on commit 5940076

Please sign in to comment.