view test/bug-38565.tst @ 20312:48d9001bdee3

Avoid HAVE_ macros in header file. * octave-qscintilla.h, octave-qscintilla.cc (octave_qscintilla::contextMenuEvent): Define unconditionally.
author John W. Eaton <jwe@octave.org>
date Wed, 24 Jun 2015 11:53:33 -0400
parents b9e510a1f308
children
line wrap: on
line source

%!function r = f (x)
%!  if (ischar (x))
%!    r = x;
%!  else
%!    error ("expecting character string");
%!  endif
%!endfunction

%!assert (eval ("f 10;"), "10");