view test/bug-36025/bug-36025.tst @ 20314:3a745710eaca

Avoid HAVE_ macro in header file. * settings-dialog.h, settings-dialog.cc: Avoid HAVE_QSCINTILLA macro in header file. Use const ints for MaxLexerStyles and MaxStyleNumber. (get_valid_lexer_styles, read_lexer_settings, write_lexer_settings): Convert member functions to file-scope static functions.
author John W. Eaton <jwe@octave.org>
date Wed, 24 Jun 2015 12:53:18 -0400
parents 1af8d21608b7
children
line wrap: on
line source

%!test
%! warning off Octave:function-name-clash
%! f = testclass (1, 2);
%! assert (one (f), 1);
%! assert (two (f), 2);
%! rehash ();
%! assert (one (f), 1);
%! assert (two (f), 2);
%! assert (two (f), 2);