gen-zam: better error reporting when ZAM code does a function call

This commit is contained in:
Vern Paxson 2023-02-09 11:23:24 -08:00 committed by Tim Wojtulewicz
parent 3b3f6bbe4d
commit 1e73b02977

View file

@ -1825,7 +1825,7 @@ void ZAM_InternalOpTemplate::Parse(const string& attr, const string& line, const
}
}
eval += "f->SetCallLoc(z.loc);\n";
eval += "f->SetCall(z.call_expr);\n";
if ( HasAssignVal() )
{