diff options
author | fche <fche> | 2005-09-28 21:23:12 +0000 |
---|---|---|
committer | fche <fche> | 2005-09-28 21:23:12 +0000 |
commit | ed10c6397cc27ad161c7fcd5242c38efd89dc5ee (patch) | |
tree | 26eb4a7e8d7176e93e6bcde03599c8e96abc7828 /parse.cxx | |
parent | e0d31311729955985b3142c1c7d08cf461192469 (diff) | |
download | systemtap-steved-ed10c6397cc27ad161c7fcd5242c38efd89dc5ee.tar.gz systemtap-steved-ed10c6397cc27ad161c7fcd5242c38efd89dc5ee.tar.xz systemtap-steved-ed10c6397cc27ad161c7fcd5242c38efd89dc5ee.zip |
2005-09-28 Frank Ch. Eigler <fche@elastic.org>
PR 1182.
* main.cxx (main): Support -D macro-setting option.
* stap.1.in: Document it and related macros.
* buildrun.cxx (compile_pass): Emit macro definitions.
* translate.cxx (translate_pass): Guard limit macros with #ifdef.
Eliminate MAXCONCURRENCY macro.
* elaborate.h (systemtap_session): Add "macros" field.
* parse.cxx (parse_if_statement): Clear "elseblock" if needed.
2005-09-28 Frank Ch. Eigler <fche@elastic.org>
PR 1182.
* systemtap.samples/control_limits.*: New test.
Diffstat (limited to 'parse.cxx')
-rw-r--r-- | parse.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -946,6 +946,8 @@ parser::parse_if_statement () next (); s->elseblock = parse_statement (); } + else + s->elseblock = 0; // in case not otherwise initialized return s; } |