view test/nest/nest_eval.m @ 16105:b7de58feb2d3

move block_comment_nesting_level to lexical_feedback_class * lex.h, lex.ll (block_comment_nesting_level): Move global variable to lexical_feedback class. Change all uses. (reset_parser): Don't reset block_comment_nesting_level.
author John W. Eaton <jwe@octave.org>
date Mon, 25 Feb 2013 21:59:40 -0500
parents 44d6ffdf9479
children
line wrap: on
line source

function x = nest_eval (a, b)
  eval (a);
  nested ();

  function nested ()
    eval (b);
  endfunction
endfunction