comparison libinterp/mk-builtins.pl @ 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 7aa4d8c049e5
children 796f54d4ddbf
comparison
equal deleted inserted replaced
29971:2af7339fa6d1 29972:febddcd0f227
148 "; 148 ";
149 } 149 }
150 150
151 print "\nOCTAVE_NAMESPACE_END\n"; 151 print "\nOCTAVE_NAMESPACE_END\n";
152 152
153 print "\n#if defined (OCTAVE_DECLARE_DEPRECATED_SYMBOLS)\n\n"; 153 print "\n#if defined (OCTAVE_PROVIDE_DEPRECATED_SYMBOLS)\n\n";
154 154
155 foreach $name (sort (@method_names)) 155 foreach $name (sort (@method_names))
156 { 156 {
157 print "OCTAVE_DEPRECATED (7, \"use 'octave::$name' instead\") 157 print "OCTAVE_DEPRECATED (7, \"use 'octave::$name' instead\")
158 inline octave_value_list 158 inline octave_value_list
174 } 174 }
175 175
176 "; 176 ";
177 } 177 }
178 178
179 ## end OCTAVE_DECLARE_DEPRECATED_SYMBOLS block 179 ## end OCTAVE_PROVIDE_DEPRECATED_SYMBOLS block
180 print "\n\n#endif\n"; 180 print "\n\n#endif\n";
181 181
182 print "\n#endif\n"; 182 print "\n#endif\n";
183 } 183 }
184 elsif ($make_source) 184 elsif ($make_source)