From 63a7c90e365874972925e886ed50941f5620bdfe Mon Sep 17 00:00:00 2001 From: fche Date: Fri, 3 Jun 2005 15:54:47 +0000 Subject: 2005-06-03 Frank Ch. Eigler * parse.cxx (scan): Support C and C++ comment styles. * testsuite/parseok/four.stp: Test them some ... * testsuite/parseko/nine.stp: ... and some more. --- testsuite/parseok/four.stp | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'testsuite/parseok') diff --git a/testsuite/parseok/four.stp b/testsuite/parseok/four.stp index 39c9ebd4..9d7a8729 100755 --- a/testsuite/parseok/four.stp +++ b/testsuite/parseok/four.stp @@ -1,7 +1,10 @@ #! stap -p1 probe syscall ("foo").foo.bar , syscall ("bar"), syscall ("*").return -{ - $a = a$a = a$a$ = 0; +{ # no comment + $a = /* comment */ a$a = /**/ a$a$ = 0; // more comment } - +/* empty comment lines */ +/**/ +# +// -- cgit