Fixed: woops, forgot to push this in f506572
.
This commit is contained in:
parent
f506572894
commit
b4542b50d9
1 changed files with 1 additions and 1 deletions
|
@ -129,7 +129,7 @@ namespace arookas
|
||||||
public override void Compile(sunContext context)
|
public override void Compile(sunContext context)
|
||||||
{
|
{
|
||||||
Offset = context.Text.Offset;
|
Offset = context.Text.Offset;
|
||||||
context.Scopes.Push();
|
context.Scopes.Push(sunScopeType.Function);
|
||||||
foreach (var parameter in Parameters)
|
foreach (var parameter in Parameters)
|
||||||
{
|
{
|
||||||
context.DeclareParameter(parameter);
|
context.DeclareParameter(parameter);
|
||||||
|
|
Loading…
Add table
Reference in a new issue