Added a parameterless overload to Push.
This commit is contained in:
parent
814282fa0d
commit
a7da66f9a9
1 changed files with 1 additions and 0 deletions
|
@ -27,6 +27,7 @@ namespace arookas {
|
||||||
Push(sunScopeType.Script); // push global scope
|
Push(sunScopeType.Script); // push global scope
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public void Push() { Push(Top.Type); }
|
||||||
public void Push(sunScopeType type) {
|
public void Push(sunScopeType type) {
|
||||||
Stack.Add(new sunScope(type));
|
Stack.Add(new sunScope(type));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue