summaryrefslogtreecommitdiffstats
path: root/testsuite/parseko
diff options
context:
space:
mode:
authorfche <fche>2005-03-04 20:10:09 +0000
committerfche <fche>2005-03-04 20:10:09 +0000
commit0fefb486c5965e371cb52f55548123233da85f72 (patch)
treed8f847e4fa6972bdd9ff22b180a5f057d52d579e /testsuite/parseko
parent8af3da4621b58b8bf39f42f65cac2d6111928fd7 (diff)
downloadsystemtap-steved-0fefb486c5965e371cb52f55548123233da85f72.tar.gz
systemtap-steved-0fefb486c5965e371cb52f55548123233da85f72.tar.xz
systemtap-steved-0fefb486c5965e371cb52f55548123233da85f72.zip
2005-03-04 Frank Ch. Eigler <fche@redhat.com>
* parse.cxx (scan): Support '$' characters in identifiers. (parse_symbol): Support thread-> / process-> shorthand. * staptree.cxx (symresolution_info::find): Split up into find_scalar, find_array, find_function. (resolve_symbols): Call the above for symbol/arrayindex/functioncall. (find_scalar): Add stub support for synthetic builtin variables. * staptree.h: Corresponding changes. * testsuite/*: Some new tests.
Diffstat (limited to 'testsuite/parseko')
-rwxr-xr-xtestsuite/parseko/four.stp5
1 files changed, 5 insertions, 0 deletions
diff --git a/testsuite/parseko/four.stp b/testsuite/parseko/four.stp
new file mode 100755
index 00000000..ad77239b
--- /dev/null
+++ b/testsuite/parseko/four.stp
@@ -0,0 +1,5 @@
+#! semtest
+
+probe foo {
+ somethingawful->foo = 1;
+}