view test/compile/shutup_operator_test/@double/display.m @ 32152:86c2e87ed916

maint: Ensure source files end with newline character. Modified files: for_loop_sinpi.m str_mod.m, bench.py, bytecode.tst, bytecode_anon_handles.m, bytecode_ans.m, bytecode_cdef_use.m, bytecode_end.m, bytecode_eval_1.m, bytecode_inputname.m, bytecode_leaks.m, bytecode_misc.m, bytecode_varargout.m, inputname_args.m, just_call_handle_with_arg.m, return_isargout.m, display.m, display.m, bytecode_disp.m, bytecode_disp.tst, wrongname_fn.m.
author John W. Eaton <jwe@octave.org>
date Mon, 19 Jun 2023 23:29:53 -0400
parents 6e6e99e8a4de
children
line wrap: on
line source

% For use by bytecode_disp().
%
% Overload display
%
function display (x)
    if (inputname(1))
        __printf_assert__ ("%s = %d ", inputname(1), x);
    else
        __printf_assert__ ("%d ", x);
    end
end