From 0fefb486c5965e371cb52f55548123233da85f72 Mon Sep 17 00:00:00 2001 From: fche Date: Fri, 4 Mar 2005 20:10:09 +0000 Subject: 2005-03-04 Frank Ch. Eigler * 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. --- testsuite/parseok/three.stp | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100755 testsuite/parseok/three.stp (limited to 'testsuite/parseok') 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; +} + -- cgit