From 2b066ec1b8801b08052a68282ce34ef9c425ae8f Mon Sep 17 00:00:00 2001 From: fche Date: Sat, 21 May 2005 01:35:34 +0000 Subject: * at long last, a more full-bodied snapshot 2005-05-20 Frank Ch. Eigler Many changes throughout. Partial sketch of translation output. * elaborate.*: Elaboration pass. * translate.*: Translation pass. * staptree.*: Simplified for visitor concept. * main.cxx: Translator mainline. * *test.cxx: Removed. * testsuite/*: Some new tests, some changed for newer syntax. --- testsuite/parseko/five.stp | 2 +- testsuite/parseko/four.stp | 2 +- testsuite/parseko/one.stp | 2 +- testsuite/parseko/six.stp | 2 +- testsuite/parseko/three.stp | 6 ++++-- testsuite/parseko/two.stp | 2 +- 6 files changed, 9 insertions(+), 7 deletions(-) (limited to 'testsuite/parseko') diff --git a/testsuite/parseko/five.stp b/testsuite/parseko/five.stp index 1673a1e6..a80b6734 100755 --- a/testsuite/parseko/five.stp +++ b/testsuite/parseko/five.stp @@ -1,4 +1,4 @@ -#! semtest +#! stap -p1 probe foo( { } diff --git a/testsuite/parseko/four.stp b/testsuite/parseko/four.stp index ad77239b..7bfccd02 100755 --- a/testsuite/parseko/four.stp +++ b/testsuite/parseko/four.stp @@ -1,4 +1,4 @@ -#! semtest +#! stap -p1 probe foo { somethingawful->foo = 1; diff --git a/testsuite/parseko/one.stp b/testsuite/parseko/one.stp index 149f602e..0388a7e6 100755 --- a/testsuite/parseko/one.stp +++ b/testsuite/parseko/one.stp @@ -1,2 +1,2 @@ -#! parsetest +#! stap -p1 "not a probe" diff --git a/testsuite/parseko/six.stp b/testsuite/parseko/six.stp index 2e8c8dbe..f37cd034 100755 --- a/testsuite/parseko/six.stp +++ b/testsuite/parseko/six.stp @@ -1,4 +1,4 @@ -#! semtest +#! stap -p1 probe foo { a = -9999999999999999999999999; diff --git a/testsuite/parseko/three.stp b/testsuite/parseko/three.stp index 4db7dd3f..be810e9d 100755 --- a/testsuite/parseko/three.stp +++ b/testsuite/parseko/three.stp @@ -1,5 +1,7 @@ -#! semtest +#! stap -p1 probe foo { - 1 + 2 = 3; # bad lvalue + a(1) +# need ; + b(2) } diff --git a/testsuite/parseko/two.stp b/testsuite/parseko/two.stp index e17024ff..74633df4 100755 --- a/testsuite/parseko/two.stp +++ b/testsuite/parseko/two.stp @@ -1,4 +1,4 @@ -#! parsetest +#! stap -p1 probe foo { a + } -- cgit