From 0c218afb69ed53355a69e4264cbc5584908d65b4 Mon Sep 17 00:00:00 2001 From: hiramatu Date: Mon, 3 Dec 2007 21:30:31 +0000 Subject: 2007-12-03 Masami Hiramatsu PR 5376 * parse.cxx (lexer::scan): Treat '*' as an alphabet if the wildcard flag is true. (parser::parse_probe_point): Call parser::next() with wildcard = true. (parser::scan_pp): Add wildcard flag and pass it to lexer::scan. (parser::next): Ditto. (parser::peek): Ditto. * parse.h : Ditto. * testsuites/perseko/twentytwo.stp: Change testcase to the wildcarded probe points with spaces. --- testsuite/ChangeLog | 6 ++++++ testsuite/parseko/twentytwo.stp | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) (limited to 'testsuite') diff --git a/testsuite/ChangeLog b/testsuite/ChangeLog index dd7234ad..843dd90e 100644 --- a/testsuite/ChangeLog +++ b/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2007-12-03 Masami Hiramatsu + + PR 5376 + * perseko/twentytwo.stp: Change testcase to the wildcarded probe + points with spaces. + 2007-11-29 David Smith * systemtap.base/marker.exp: Gets marker list from diff --git a/testsuite/parseko/twentytwo.stp b/testsuite/parseko/twentytwo.stp index a5434355..3b1b7d5a 100755 --- a/testsuite/parseko/twentytwo.stp +++ b/testsuite/parseko/twentytwo.stp @@ -1,5 +1,5 @@ #! stap -p1 -# bad wildcard +# wildcard with space -probe a** { } +probe a * b { } -- cgit