diff options
author | fche <fche> | 2005-06-03 21:01:35 +0000 |
---|---|---|
committer | fche <fche> | 2005-06-03 21:01:35 +0000 |
commit | 553d27a587615e4b242a89bf1a7af93b71f050f0 (patch) | |
tree | 1ca4e5d35908208e5d533bb32e22b6aa567221b8 /testsuite/semko | |
parent | 63a7c90e365874972925e886ed50941f5620bdfe (diff) | |
download | systemtap-steved-553d27a587615e4b242a89bf1a7af93b71f050f0.tar.gz systemtap-steved-553d27a587615e4b242a89bf1a7af93b71f050f0.tar.xz systemtap-steved-553d27a587615e4b242a89bf1a7af93b71f050f0.zip |
2005-06-03 Frank Ch. Eigler <fche@redhat.com>
* TODO: Removed entries already represented in bugzilla.
* elaborate.cxx: Rewrite type inference for several operators.
* main.cxx (main): For -p2 runs, print types of function/probe locals.
* parse.cxx (scan): Identify more two-character operators.
(parse_comparison): Support the whole suite.
* translate.cxx (visit_unary_expression, logical_or_expr,
logical_and_expr, comparison,ternary_expression): New support.
* testsuite/parseok/semok.stp: Clever new test.
* testsuite/transok/four.stp: New test.
* testsuite/*: Some tweaked tests for syntax changes.
Diffstat (limited to 'testsuite/semko')
-rwxr-xr-x | testsuite/semko/eight.stp | 2 | ||||
-rwxr-xr-x | testsuite/semko/four.stp | 2 | ||||
-rwxr-xr-x | testsuite/semko/three.stp | 3 | ||||
-rwxr-xr-x | testsuite/semko/two.stp | 2 |
4 files changed, 5 insertions, 4 deletions
diff --git a/testsuite/semko/eight.stp b/testsuite/semko/eight.stp index 7d297295..d95e225f 100755 --- a/testsuite/semko/eight.stp +++ b/testsuite/semko/eight.stp @@ -1,5 +1,5 @@ #! stap -p2 probe foo { - stats << "string" # stats only collect numbers + stats <<< "string" # stats only collect numbers } diff --git a/testsuite/semko/four.stp b/testsuite/semko/four.stp index fd2b3928..21e2be20 100755 --- a/testsuite/semko/four.stp +++ b/testsuite/semko/four.stp @@ -1,6 +1,6 @@ #! stap -p2 -global a, b; # types unknown +global a, b # types unknown function bar () { diff --git a/testsuite/semko/three.stp b/testsuite/semko/three.stp index 423dbcdf..7a64a93c 100755 --- a/testsuite/semko/three.stp +++ b/testsuite/semko/three.stp @@ -1,6 +1,7 @@ #! stap -p2 +global b probe foo { - a << 2; + a <<< 2; b[a] = 4; # must not index with stats variable } diff --git a/testsuite/semko/two.stp b/testsuite/semko/two.stp index acf0a973..5906687c 100755 --- a/testsuite/semko/two.stp +++ b/testsuite/semko/two.stp @@ -1,6 +1,6 @@ #! stap -p2 -function zoo (p) { p << 5; return 0 } # passing stats as function arg +function zoo (p) { p <<< 5; return 0 } # passing stats as function arg probe foo { bar = 2 + "string"; # mixing integer+string arithmetic |