diff options
author | fche <fche> | 2005-08-12 19:43:55 +0000 |
---|---|---|
committer | fche <fche> | 2005-08-12 19:43:55 +0000 |
commit | 3a20432bc0a0aa6d8651561d508cc730e6dabc97 (patch) | |
tree | 2d957fcf675df9a8f3a909ab51f1177ae4854137 /testsuite/transok | |
parent | ba3f9e9ebb1b8cae641159305031ec5fee637fd4 (diff) | |
download | systemtap-steved-3a20432bc0a0aa6d8651561d508cc730e6dabc97.tar.gz systemtap-steved-3a20432bc0a0aa6d8651561d508cc730e6dabc97.tar.xz systemtap-steved-3a20432bc0a0aa6d8651561d508cc730e6dabc97.zip |
2005-08-12 Frank Ch. Eigler <fche@elastic.org>
PR systemtap/1122 et alii
* parse.cxx (parse_literal): Parse and range-limit 64-bit numbers.
(parse_unary): Correct precedence glitch.
* staptree.h (literal_number): Store an int64_t.
* staptree.cxx: Corresponding changes.
* translate.cxx (check_dbz): Remove - insufficient.
(emit_function): Define CONTEXT macro sibling for THIS.
(c_typename): pe_long -> int64_t.
(visit_literal_number): Format literal rigorously and uglily.
(c_assignop, visit_binary_expression): Handle div/mod via new
helper functions in runtime.
* tapset/builtin_logging.stp: Add error, exit builtins.
* testsuite/buildok/ten,eleven.stp: New tests.
* testsuite/parse{ko,ok}/six.stp: Modify for larger numbers.
* testsuite/transok/one.stp: Add more ";"s, maybe unnecessarily.
2005-08-12 Frank Ch. Eigler <fche@elastic.org>
* arith.c: New file to contain arithmetic helper functions.
* builtin_functions.h: Remove, unused.
* runtime.h: Include it.
Diffstat (limited to 'testsuite/transok')
-rwxr-xr-x | testsuite/transok/one.stp | 20 |
1 files changed, 9 insertions, 11 deletions
diff --git a/testsuite/transok/one.stp b/testsuite/transok/one.stp index 6c624f14..7da27549 100755 --- a/testsuite/transok/one.stp +++ b/testsuite/transok/one.stp @@ -42,15 +42,13 @@ probe begin a / b a % b - # all unary operators - a ++ - a -- - -- a - -- b - ~ a - ! a - ; # grammar glitch - + a - ; # grammar glitch - - a + # all unary operators; use explicit ";" to avoid grammar ambiguities + a ++ ; + a -- ; + ++ a ; + -- b ; + ~ a ; + ! a ; + + a ; + - a ; } |