remove deprecated union and timer types, addressing #1898

This commit is contained in:
Matthew Luckie 2022-02-19 19:17:51 +13:00
parent d77fd8305d
commit 11f8729997
9 changed files with 28 additions and 78 deletions

View file

@ -279,7 +279,6 @@ void CPP_TypeInits::Generate(InitsManager* im, vector<TypePtr>& ivec, int offset
case TYPE_PORT:
case TYPE_STRING:
case TYPE_TIME:
case TYPE_TIMER:
case TYPE_VOID:
case TYPE_SUBNET:
case TYPE_FILE:

View file

@ -141,8 +141,6 @@ const char* CPPCompile::TypeTagName(TypeTag tag)
return "TYPE_TABLE";
case TYPE_TIME:
return "TYPE_TIME";
case TYPE_TIMER:
return "TYPE_TIMER";
case TYPE_TYPE:
return "TYPE_TYPE";
case TYPE_VECTOR:
@ -302,7 +300,6 @@ shared_ptr<CPP_InitInfo> CPPCompile::RegisterType(const TypePtr& tp)
case TYPE_PORT:
case TYPE_STRING:
case TYPE_TIME:
case TYPE_TIMER:
case TYPE_VOID:
case TYPE_SUBNET:
case TYPE_FILE: