}
}
+ public class ShortLiteral : ShortConstant {
+ public ShortLiteral (short l) : base (l)
+ {
+ }
+
+ public override Expression DoResolve (EmitContext ec)
+ {
+ type = TypeManager.short_type;
+ return this;
+ }
+ }
+
public class UIntLiteral : UIntConstant {
public UIntLiteral (uint l) : base (l)
{
return this;
}
}
+
+ public class DateLiteral : DateConstant {
+ public DateLiteral (DateTime s) : base (s)
+ {
+ }
+
+ public override Expression DoResolve (EmitContext ec)
+ {
+ type = TypeManager.date_type;
+
+ return this;
+ }
+ }
}