Added a parameterless overload to Push.

This commit is contained in:
arookas 2015-12-28 20:15:12 -05:00
parent 814282fa0d
commit a7da66f9a9

View file

@ -27,6 +27,7 @@ namespace arookas {
Push(sunScopeType.Script); // push global scope
}
public void Push() { Push(Top.Type); }
public void Push(sunScopeType type) {
Stack.Add(new sunScope(type));
}