From 0054a7eaacba2a7183be67b28e7746ed55a8f6d1 Mon Sep 17 00:00:00 2001 From: fche Date: Thu, 3 Mar 2005 21:24:24 +0000 Subject: 2005-03-03 Frank Ch. Eigler * parse.cxx (parse_assignment): Assert lvalueness of left operand. * staptree.h (expression): Add is_lvalue member. * staptree.cxx (functioncall::resolve_types): Don't crash on formal-vs-actual argument count mismatch. (*): Add some is_lvalue stub functions. * testsuite/*: Some new tests. --- testsuite/semok/five.stp | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100755 testsuite/semok/five.stp (limited to 'testsuite/semok') diff --git a/testsuite/semok/five.stp b/testsuite/semok/five.stp new file mode 100755 index 00000000..c8b59e73 --- /dev/null +++ b/testsuite/semok/five.stp @@ -0,0 +1,7 @@ +#! parsetest + +probe foo +{ + array[1] = array[2] = 3; + statvar << value << 4; +} -- cgit