From 213bee8fc2b826ca8467fbbe35398450449bf082 Mon Sep 17 00:00:00 2001 From: fche Date: Thu, 23 Feb 2006 22:35:40 +0000 Subject: 2006-02-23 Frank Ch. Eigler PR 1304 * parse.cxx (lexer): Take systemtap_session argument. (lexer::scan): Support $1..$NNNN and @1...@NNNN expansion. * stap.1.in: Document this. * testsuite/semok/args.stp: New test. * translate.cxx (var::init, emit_global): Emit code to allow named module parameters to initialize global string/number scalars. * stap.1.in: Don't document this yet. PR 2334 * main.cxx (main): Clarify "-v" option repeatibility. * stap.1.in: Ditto. --- parse.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'parse.h') diff --git a/parse.h b/parse.h index 81544eb9..b9d56152 100644 --- a/parse.h +++ b/parse.h @@ -57,7 +57,7 @@ class lexer { public: token* scan (); - lexer (std::istream&, const std::string&); + lexer (std::istream&, const std::string&, systemtap_session&); private: int input_get (); @@ -67,6 +67,7 @@ private: std::vector lookahead; unsigned cursor_line; unsigned cursor_column; + systemtap_session& session; }; -- cgit