Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix GLOBAL/PROCESS in indirect name usage (how did this ever work?)
  • Loading branch information
sorear committed Oct 26, 2011
1 parent 0271633 commit 9ee80cd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Kernel.cs
Expand Up @@ -3729,11 +3729,11 @@ public struct StashCursor {
v = ToInfo().cur_pkg.typeVar;
goto have_v;
} else if (key == "GLOBAL") {
sc.p1 = Kernel.GetVar("", "GLOBAL").v.Fetch();
sc.p1 = Kernel.GetVar("", "GLOBAL").v.Fetch().mo.who;
sc.type = WHO;
goto have_sc;
} else if (key == "PROCESS") {
sc.p1 = Kernel.GetVar("", "PROCESS").v.Fetch();
sc.p1 = Kernel.GetVar("", "PROCESS").v.Fetch().mo.who;
sc.type = WHO;
goto have_sc;
} else if (key == "UNIT" || key == "OUTER" ||
Expand Down

0 comments on commit 9ee80cd

Please sign in to comment.