mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 22:58:20 +00:00
fix for tracking identifiers and aggregates when compiling to standalone-C++
This commit is contained in:
parent
b25a844210
commit
18d435ac12
3 changed files with 6 additions and 10 deletions
|
@ -196,6 +196,8 @@ TraversalCode ProfileFunc::PreExpr(const Expr* e) {
|
|||
auto n = e->AsNameExpr();
|
||||
auto id = n->IdPtr();
|
||||
|
||||
TrackID(id);
|
||||
|
||||
// Turns out that NameExpr's can be constructed using a
|
||||
// different Type* than that of the identifier itself,
|
||||
// so be sure we track the latter too.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue