minor commenting clarifications

This commit is contained in:
Vern Paxson 2022-01-07 11:49:03 -08:00
parent 4c1b3c82d9
commit a85d92b2ee
3 changed files with 8 additions and 3 deletions

View file

@ -722,6 +722,10 @@ TraversalCode OuterIDBindingFinder::PostExpr(const Expr* expr)
return TC_CONTINUE;
}
// The following is only used for debugging AST duplication. If activated,
// each AST is replaced with its duplicate. In the absence of a duplication
// error, this shouldn't change any semantics, so running the test suite
// with this variable set can find flaws in the duplication machinery.
static bool duplicate_ASTs = getenv("ZEEK_DUPLICATE_ASTS");
void end_func(StmtPtr body, bool free_of_conditionals)