diff --git a/ssc/symbol table.cs b/ssc/symbol table.cs index 8c32635..7049282 100644 --- a/ssc/symbol table.cs +++ b/ssc/symbol table.cs @@ -37,10 +37,15 @@ namespace arookas { abstract class sunSymbol { string mName; + sunSymbolModifiers mModifiers; public string Name { get { return mName; } } + public sunSymbolModifiers Modifiers { + get { return mModifiers; } + set { mModifiers = value; } + } // symbol table public abstract sunSymbolType Type { get; } @@ -312,4 +317,11 @@ namespace arookas { Variable, Constant, } + + [Flags] + enum sunSymbolModifiers { + None = 0, + Constant = 1 << 0, + Local = 1 << 1, + } }