summaryrefslogtreecommitdiffstats
path: root/staptree.h
diff options
context:
space:
mode:
authorRajan Arora <rarora@redhat.com>2008-10-09 19:58:30 -0400
committerRajan Arora <rarora@redhat.com>2008-10-09 19:58:30 -0400
commit1b1b4cebda9ceaa7a2a2b695a32ecb2588045076 (patch)
treed40f4da6cd854250b2523ddc5ab0563efef050d7 /staptree.h
parente2607b19ce56830d64affed6a8ab169697bf2ccf (diff)
downloadsystemtap-steved-1b1b4cebda9ceaa7a2a2b695a32ecb2588045076.tar.gz
systemtap-steved-1b1b4cebda9ceaa7a2a2b695a32ecb2588045076.tar.xz
systemtap-steved-1b1b4cebda9ceaa7a2a2b695a32ecb2588045076.zip
Display source context for error and warning messages (6701)
Diffstat (limited to 'staptree.h')
-rw-r--r--staptree.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/staptree.h b/staptree.h
index 770a731e..c35728cb 100644
--- a/staptree.h
+++ b/staptree.h
@@ -574,8 +574,10 @@ struct stapfile
std::vector<functiondecl*> functions;
std::vector<vardecl*> globals;
std::vector<embeddedcode*> embeds;
+ std::string file_contents;
bool privileged;
- stapfile (): privileged (false) {}
+ stapfile (): file_contents (""),
+ privileged (false) {}
void print (std::ostream& o) const;
};