From bdef2583fcf7270a613cc992772bc1a36f98cabb Mon Sep 17 00:00:00 2001 From: fche Date: Tue, 25 Apr 2006 17:58:28 +0000 Subject: 2006-04-25 Frank Ch. Eigler * elaborate.cxx (typeresolution_info::unresolved,invalid, mismatch): Print current function/probe name in error message. (semantic_pass_types): Pass sufficient information. * elaborate.h: Corresponding changes. --- elaborate.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'elaborate.h') diff --git a/elaborate.h b/elaborate.h index 7317e940..2255037e 100644 --- a/elaborate.h +++ b/elaborate.h @@ -47,12 +47,13 @@ public: struct typeresolution_info: public visitor { - typeresolution_info (systemtap_session& s): session (s) {} + typeresolution_info (systemtap_session& s); systemtap_session& session; unsigned num_newly_resolved; unsigned num_still_unresolved; bool assert_resolvability; functiondecl* current_function; + derived_probe* current_probe; void mismatch (const token* tok, exp_type t1, exp_type t2); void unresolved (const token* tok); -- cgit