diff --git a/source/tlang/compiler/symbols/typing.d b/source/tlang/compiler/symbols/typing.d index cc93b12..5b3af65 100644 --- a/source/tlang/compiler/symbols/typing.d +++ b/source/tlang/compiler/symbols/typing.d @@ -53,11 +53,12 @@ public class Double : Number public class Pointer : Type { - /* Datum wdith */ - private ubyte datumWidth; + /* Data type being pointed to */ + private Type dataType; - this(string name) + this(string name, Type dataType) { super(name); + this.dataType = dataType; } } \ No newline at end of file