diff options
author | Josh Stone <jistone@redhat.com> | 2010-02-19 17:44:44 -0800 |
---|---|---|
committer | Josh Stone <jistone@redhat.com> | 2010-02-23 16:20:35 -0800 |
commit | f946b10fbd72dd760f04ad9475f2ba3ccb56666f (patch) | |
tree | fccc6a4d31e04f741cf0a8ebe6f44c36943b9dae /staptree.h | |
parent | d945a07eecee9851173365459d196bcd22c3e636 (diff) | |
download | systemtap-steved-f946b10fbd72dd760f04ad9475f2ba3ccb56666f.tar.gz systemtap-steved-f946b10fbd72dd760f04ad9475f2ba3ccb56666f.tar.xz systemtap-steved-f946b10fbd72dd760f04ad9475f2ba3ccb56666f.zip |
Simplify null_statement construction
It only needs a token*, so build that into the constructor.
Diffstat (limited to 'staptree.h')
-rw-r--r-- | staptree.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -492,6 +492,7 @@ struct statement virtual void visit (visitor* u) = 0; const token* tok; statement (); + statement (const token* tok); virtual ~statement (); }; @@ -547,6 +548,7 @@ struct null_statement: public statement { void print (std::ostream& o) const; void visit (visitor* u); + null_statement (const token* tok); }; |