view test/nest/recursive_nest3.m @ 15087:20b33f227599

fix the names of parse.h and parse-private.h in module.mk file * src/parse-tree/module.mk (PARSER_INCLUDES): Include parse-tree directory prefix for parse.h and parse-private.h.
author John W. Eaton <jwe@octave.org>
date Fri, 03 Aug 2012 11:37:02 -0400
parents be18c9e359bf
children
line wrap: on
line source

function x = recursive_nest3 ()
  y = 5;
  f (y);
  x = y;
  g (x);
  function f (y)
    y = 10;
  endfunction

  function g (x)
    x = 10;
  endfunction
endfunction