summaryrefslogtreecommitdiffstats
path: root/elaborate.h
diff options
context:
space:
mode:
authorRajan Arora <rarora@redhat.com>2009-02-18 20:16:03 -0500
committerRajan Arora <rarora@redhat.com>2009-02-18 20:16:03 -0500
commitd5f0c423890f54b7f12da85fbcfc61879efc368e (patch)
tree03c1e4a89d3472980e0c6b966580662d5485aabb /elaborate.h
parent8aaa6e11f666ad372107299b5b17602011125c7d (diff)
downloadsystemtap-steved-d5f0c423890f54b7f12da85fbcfc61879efc368e.tar.gz
systemtap-steved-d5f0c423890f54b7f12da85fbcfc61879efc368e.tar.xz
systemtap-steved-d5f0c423890f54b7f12da85fbcfc61879efc368e.zip
BZ 9719: Improve type mismatch messages
Diffstat (limited to 'elaborate.h')
-rw-r--r--elaborate.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/elaborate.h b/elaborate.h
index 715a37df..1e05444f 100644
--- a/elaborate.h
+++ b/elaborate.h
@@ -54,6 +54,8 @@ struct typeresolution_info: public visitor
bool assert_resolvability;
functiondecl* current_function;
derived_probe* current_probe;
+ std::vector <const token*> resolved_toks; // account for type mis-
+ std::vector <const token*> printed_toks; // matches (BZ 9719)
void check_arg_type (exp_type wanted, expression* arg);
void mismatch (const token* tok, exp_type t1, exp_type t2);