summaryrefslogtreecommitdiffstats
path: root/parse.h
diff options
context:
space:
mode:
authorfche <fche>2006-02-23 22:35:40 +0000
committerfche <fche>2006-02-23 22:35:40 +0000
commit213bee8fc2b826ca8467fbbe35398450449bf082 (patch)
tree7e4a637195c704109e333906b377c7060970cf23 /parse.h
parent5ae893a12a652a31d2f96f4e81aab78c922b6ec8 (diff)
downloadsystemtap-steved-213bee8fc2b826ca8467fbbe35398450449bf082.tar.gz
systemtap-steved-213bee8fc2b826ca8467fbbe35398450449bf082.tar.xz
systemtap-steved-213bee8fc2b826ca8467fbbe35398450449bf082.zip
2006-02-23 Frank Ch. Eigler <fche@elastic.org>
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.
Diffstat (limited to 'parse.h')
-rw-r--r--parse.h3
1 files changed, 2 insertions, 1 deletions
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<int> lookahead;
unsigned cursor_line;
unsigned cursor_column;
+ systemtap_session& session;
};