view test/bug-35448/bug-35448.tst @ 20579:52ce821a52fd

eliminate simple uses of error_state in parser and lexer * lex.ll, oct-parse.in.yy: Eliminate simple uses of global error_state variable.
author John W. Eaton <jwe@octave.org>
date Sat, 03 Oct 2015 16:21:58 -0400
parents 1af8d21608b7
children
line wrap: on
line source

%!test
%! global gfun
%! gfun = @fB;
%! y = fA (e);
%! assert (y, e);

%!test
%! global gfun
%! gfun = @fC;
%! y = fA (e);
%! assert (y, e);