summaryrefslogtreecommitdiffstats
path: root/testsuite/parseok
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/parseok
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/parseok')
-rwxr-xr-xtestsuite/parseok/three.stp7
1 files changed, 7 insertions, 0 deletions
diff --git a/testsuite/parseok/three.stp b/testsuite/parseok/three.stp
new file mode 100755
index 00000000..b2628d4d
--- /dev/null
+++ b/testsuite/parseok/three.stp
@@ -0,0 +1,7 @@
+#! parsetest
+
+probe kernel:systemcall("foo")
+{
+ $a = a$a = a$a$ = 0;
+}
+