Mercurial > octave
diff test/compile/shutup-operator-test/@double/display.m @ 33418:ea29311fbd44 bytecode-interpreter
rename some files for consistency
Prefer hyphens over underscores in filenames.
* test/compile/shutup-operator-test/@double/display.m: Rename from
test/compile/shutup_operator_test/@double/display.m.
* test/compile/shutup-operator-test/@logical/display.m: Rename from
test/compile/shutup_operator_test/@logical/display.m.
* test/compile/shutup-operator-test/bytecode-disp.tst: Rename from
test/compile/shutup_operator_test/bytecode_disp.m.
* test/compile/shutup-operator-test/bytecode_disp.m: Rename from
test/compile/shutup_operator_test/bytecode_disp.tst.
* test/compile/module.mk: Update.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Tue, 16 Apr 2024 14:33:05 -0400 |
parents | test/compile/shutup_operator_test/@double/display.m@86c2e87ed916 |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/test/compile/shutup-operator-test/@double/display.m Tue Apr 16 14:33:05 2024 -0400 @@ -0,0 +1,11 @@ +% 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