diff options
author | Frank Ch. Eigler <fche@elastic.org> | 2008-03-31 21:20:19 -0400 |
---|---|---|
committer | Frank Ch. Eigler <fche@elastic.org> | 2008-03-31 21:20:19 -0400 |
commit | 52e1ee435f702c6b613eec2c2ee3db0baae3b6b4 (patch) | |
tree | 633271c63f67f7bf6c89d499893e0d2ba8642fdd /translate.cxx | |
parent | b45613ad2a9740217ad3050adc6fcd038286ce88 (diff) | |
parent | d783589ee2b7511b8bed0fa3549b2a6a84277b9b (diff) | |
download | systemtap-steved-52e1ee435f702c6b613eec2c2ee3db0baae3b6b4.tar.gz systemtap-steved-52e1ee435f702c6b613eec2c2ee3db0baae3b6b4.tar.xz systemtap-steved-52e1ee435f702c6b613eec2c2ee3db0baae3b6b4.zip |
Merge branch 'master' into unwind
* master:
Revert "Just a test commit"
Just a test commit
bump autoconf* version numbers to 0.7
replace mentions of CVS with GIT in docuemntation files
2008-03-27 Frank Ch. Eigler <fche@elastic.org>
2008-03-27 Frank Ch. Eigler <fche@elastic.org>
2008-03-26 Frank Ch. Eigler <fche@elastic.org>
Revert "dummy commit"
dummy commit
Diffstat (limited to 'translate.cxx')
-rw-r--r-- | translate.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/translate.cxx b/translate.cxx index 8b9dee54..baa64741 100644 --- a/translate.cxx +++ b/translate.cxx @@ -1360,6 +1360,9 @@ c_unparser::emit_function (functiondecl* v) o->newline() << "#define THIS l"; o->newline() << "if (0) goto out;"; // make sure out: is marked used + // set this, in case embedded-c code sets last_error but doesn't otherwise identify itself + o->newline() << "c->last_stmt = " << lex_cast_qstring(*v->tok) << ";"; + // check/increment nesting level o->newline() << "if (unlikely (c->nesting+2 >= MAXNESTING)) {"; o->newline(1) << "c->last_error = \"MAXNESTING exceeded\";"; |