## When max recursion depth is exceeded, Octave prints an error stack that is
## as long as the recursion depth all citing the same line number.  It is a
## small point, but it would be nicer if Octave would tell you just once that
## the recursion depth had been exceeded.

################################################################################
## Example:

## Set something far less than the default 256
max_recursion_depth (15);

## Subfunction to endlessly recurse
function recurse ()
   recurse ();
endfunction

## Invoke subfunction which will endlessly recurse
recurse ();

