summaryrefslogtreecommitdiffstats
path: root/tapsets.cxx
diff options
context:
space:
mode:
authorfche <fche>2005-12-13 19:28:03 +0000
committerfche <fche>2005-12-13 19:28:03 +0000
commit7b99c7d3b84c70d9e9159d2baa1c00ce7b363314 (patch)
tree13d94cb56f4b97471ff11d1cf20765c6729b6a20 /tapsets.cxx
parentb3a26c7b5b7cbd98daa32841ee5f687c035b42ad (diff)
downloadsystemtap-steved-7b99c7d3b84c70d9e9159d2baa1c00ce7b363314.tar.gz
systemtap-steved-7b99c7d3b84c70d9e9159d2baa1c00ce7b363314.tar.xz
systemtap-steved-7b99c7d3b84c70d9e9159d2baa1c00ce7b363314.zip
2005-12-13 Frank Ch. Eigler <fche@redhat.com>
* tapsets.cxx (var_expanding_copy_visitor::visit_target): Transcribe token pointer to synthesized functiondecl.
Diffstat (limited to 'tapsets.cxx')
-rw-r--r--tapsets.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/tapsets.cxx b/tapsets.cxx
index bbbee0cf..f8ecf1d7 100644
--- a/tapsets.cxx
+++ b/tapsets.cxx
@@ -2573,6 +2573,7 @@ var_expanding_copy_visitor::visit_target_symbol (target_symbol *e)
// Synthesize a function.
functiondecl *fdecl = new functiondecl;
+ fdecl->tok = e->tok;
embeddedcode *ec = new embeddedcode;
ec->tok = e->tok;
bool lvalue = is_active_lvalue(e);