From ff17e83089dee8d23e51cf55f8ea3a28c07dedee Mon Sep 17 00:00:00 2001 From: fche Date: Wed, 7 Sep 2005 02:16:59 +0000 Subject: 2005-09-06 Frank Ch. Eigler * 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. --- translate.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'translate.cxx') 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; ilocals.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(); } -- cgit