diff options
author | fche <fche> | 2005-06-02 21:10:49 +0000 |
---|---|---|
committer | fche <fche> | 2005-06-02 21:10:49 +0000 |
commit | d8e610f05aafd65e2afef59088db43a2c946680f (patch) | |
tree | 7d3d5ba6c004a5e38a78a3c8dc8c75680f39a56d | |
parent | 3d3887df260321254f087cd87d011c9503b8bd44 (diff) | |
download | systemtap-steved-d8e610f05aafd65e2afef59088db43a2c946680f.tar.gz systemtap-steved-d8e610f05aafd65e2afef59088db43a2c946680f.tar.xz systemtap-steved-d8e610f05aafd65e2afef59088db43a2c946680f.zip |
none
-rwxr-xr-x | testsuite/transok/two.stp | 5 | ||||
-rw-r--r-- | translate.cxx | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/testsuite/transok/two.stp b/testsuite/transok/two.stp new file mode 100755 index 00000000..d62e88a8 --- /dev/null +++ b/testsuite/transok/two.stp @@ -0,0 +1,5 @@ +#! stap +probe k,l { 2; } +function poo (zoo) { n = poo2 (8); return "foo" . zoo } +function poo2 (zoo) { return poo3 (2 + 4 * zoo) } +function poo3 (zoo) { return zoo } diff --git a/translate.cxx b/translate.cxx index 76dadf7b..f53e2952 100644 --- a/translate.cxx +++ b/translate.cxx @@ -717,7 +717,7 @@ c_unparser::visit_binary_expression (binary_expression* e) e->right->visit (this); o->line() << ")"; } - // % and / need a division-by-zero check + // XXX: % and / need a division-by-zero check else throw semantic_error ("not yet implemented", e->tok); } |