diff options
author | fche <fche> | 2006-09-05 02:08:52 +0000 |
---|---|---|
committer | fche <fche> | 2006-09-05 02:08:52 +0000 |
commit | 9b48ce88f4a8aebb8ad176f4e7fe6bbbe36e1fe7 (patch) | |
tree | dcf516db39087ad7e66dcd647cf9a122fa326a4b /staptree.h | |
parent | 331edd21f3c4f79fb71456d5550d75657b34b80f (diff) | |
download | systemtap-steved-9b48ce88f4a8aebb8ad176f4e7fe6bbbe36e1fe7.tar.gz systemtap-steved-9b48ce88f4a8aebb8ad176f4e7fe6bbbe36e1fe7.tar.xz systemtap-steved-9b48ce88f4a8aebb8ad176f4e7fe6bbbe36e1fe7.zip |
2006-09-04 Frank Ch. Eigler <fche@elastic.org>
Improve unresolved target-symbol error messages.
* staptree.h (target_symbol): Add new field saved_conversion_error.
* elaborate.cxx (typeresolution_info::visit_target_symbol): Throw
that if found instead of generic error.
* tapsets.cxx (t_v_f_c_v::visit_target_symbol): Set it.
Diffstat (limited to 'staptree.h')
-rw-r--r-- | staptree.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -229,6 +229,8 @@ struct target_symbol : public expression }; std::string base_name; std::vector<std::pair<component_type, std::string> > components; + semantic_error* saved_conversion_error; + target_symbol(): saved_conversion_error (0) {} void print (std::ostream& o) const; void visit (visitor* u); }; |