Mercurial > octave
changeset 29972:febddcd0f227
fix macro name in generated builtin-defun-decls.h file
* mk-builtins.pl: Emit OCTAVE_PROVIDE_DEPRECATED_SYMBOLS, not
OCTAVE_DECLARE_DEPRECATED_SYMBOLS.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Mon, 16 Aug 2021 08:56:29 -0400 |
parents | 2af7339fa6d1 |
children | b35ba9918a4e |
files | libinterp/mk-builtins.pl |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/libinterp/mk-builtins.pl Mon Aug 16 14:58:26 2021 +0200 +++ b/libinterp/mk-builtins.pl Mon Aug 16 08:56:29 2021 -0400 @@ -150,7 +150,7 @@ print "\nOCTAVE_NAMESPACE_END\n"; - print "\n#if defined (OCTAVE_DECLARE_DEPRECATED_SYMBOLS)\n\n"; + print "\n#if defined (OCTAVE_PROVIDE_DEPRECATED_SYMBOLS)\n\n"; foreach $name (sort (@method_names)) { @@ -176,7 +176,7 @@ "; } - ## end OCTAVE_DECLARE_DEPRECATED_SYMBOLS block + ## end OCTAVE_PROVIDE_DEPRECATED_SYMBOLS block print "\n\n#endif\n"; print "\n#endif\n";