summaryrefslogtreecommitdiffstats
path: root/translate.cxx
diff options
context:
space:
mode:
authorfche <fche>2005-09-07 02:16:59 +0000
committerfche <fche>2005-09-07 02:16:59 +0000
commitff17e83089dee8d23e51cf55f8ea3a28c07dedee (patch)
treeafd37ba5838c793f80f83f550dd91148474c435a /translate.cxx
parent5d64f5e78eab3b1eeccca5c91aa50f8414c1e878 (diff)
downloadsystemtap-steved-ff17e83089dee8d23e51cf55f8ea3a28c07dedee.tar.gz
systemtap-steved-ff17e83089dee8d23e51cf55f8ea3a28c07dedee.tar.xz
systemtap-steved-ff17e83089dee8d23e51cf55f8ea3a28c07dedee.zip
2005-09-06 Frank Ch. Eigler <fche@elastic.org>
* stap.1.in: Clarify absence of short-circuiting in && and ||. * translate.cxx (emit_function): Improve "array locals" message. * tapset/timestamp.stp: Add gettimeofday_us function. Correct arithmetic typing in other functions. * stapfuncs.5.in: Document new function.
Diffstat (limited to 'translate.cxx')
-rw-r--r--translate.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/translate.cxx b/translate.cxx
index cca6cad6..6b00cd9e 100644
--- a/translate.cxx
+++ b/translate.cxx
@@ -849,7 +849,7 @@ c_unparser::emit_function (functiondecl* v)
for (unsigned i=0; i<v->locals.size(); i++)
{
if (v->locals[i]->index_types.size() > 0) // array?
- throw semantic_error ("array locals not supported", v->tok);
+ throw semantic_error ("array locals not supported", v->locals[i]->tok);
o->newline() << getvar (v->locals[i]).init();
}