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. --- parse.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'parse.h') diff --git a/parse.h b/parse.h index ddfb19c1..c8008bc7 100644 --- a/parse.h +++ b/parse.h @@ -22,6 +22,7 @@ enum token_type tok_junk, tok_identifier, tok_operator, tok_string, tok_number }; + struct token { source_loc location; @@ -29,6 +30,7 @@ struct token std::string content; }; + std::ostream& operator << (std::ostream& o, const token& t); -- cgit