In current CVS and Windows snapshot:
* We now have the boolean "set" variable "protect_lists", for use
with list arguments to functions. It's off by default.
* "const-ness" is now handled correctly for arguments taking the
form of pointers to scalars, series and matrices. This property
is "inherited", so you'll (correctly) get an error from this sort
of thing:
<script>
function baz (matrix *M)
M = mnormal(2,2) # bzzt!
end function
function foo (const matrix *M)
baz(&M)
end function
matrix M = I(3)
foo(&M)
</script>
Although function baz does not mark its matrix-pointer argument as
const, the const guarantee given by function foo carries over.
Allin.