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/parseko/twentytwo.stp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'testsuite/parseko') 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