mirror of
https://github.com/zeek/zeek.git
synced 2025-10-06 16:48:19 +00:00
-O gen-C++ support for type expressions
This commit is contained in:
parent
ae62209e78
commit
9f5fba7003
6 changed files with 29 additions and 0 deletions
|
@ -103,6 +103,8 @@ shared_ptr<CPP_InitInfo> CPPCompile::RegisterConstant(const ValPtr& vp, int& con
|
|||
|
||||
case TYPE_FUNC: gi = make_shared<FuncConstInfo>(this, vp); break;
|
||||
|
||||
case TYPE_TYPE: gi = make_shared<TypeConstInfo>(this, vp); break;
|
||||
|
||||
default: reporter->InternalError("bad constant type in CPPCompile::AddConstant"); break;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue