Remove switch statement
This commit is contained in:
parent
ba1a0d6df3
commit
a64f77f435
1 changed files with 0 additions and 4 deletions
|
@ -21,7 +21,6 @@ namespace arookas {
|
|||
public sunCallableSymbol Unlock { get; private set; }
|
||||
|
||||
// system variables
|
||||
public sunStorableSymbol Switch { get; private set; }
|
||||
|
||||
public sunContext() {
|
||||
DataTable = new sunDataTable();
|
||||
|
@ -196,9 +195,6 @@ namespace arookas {
|
|||
Exit = AddSystemBuiltin("exit");
|
||||
Lock = AddSystemBuiltin("lock");
|
||||
Unlock = AddSystemBuiltin("unlock");
|
||||
|
||||
// add system variables
|
||||
Switch = AddSystemVariable("switch"); // storage for switch statements
|
||||
}
|
||||
sunCallableSymbol AddSystemBuiltin(string name) {
|
||||
var symbol = new sunBuiltinSymbol(name, SymbolTable.Count);
|
||||
|
|
Loading…
Reference in a new issue