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/parseko/three.stp | 5 +++++ 1 file changed, 5 insertions(+) create mode 100755 testsuite/parseko/three.stp (limited to 'testsuite/parseko') diff --git a/testsuite/parseko/three.stp b/testsuite/parseko/three.stp new file mode 100755 index 00000000..4db7dd3f --- /dev/null +++ b/testsuite/parseko/three.stp @@ -0,0 +1,5 @@ +#! semtest + +probe foo { + 1 + 2 = 3; # bad lvalue +} -- cgit