comparison NEWS @ 14294:9e3983c8963c

deprecate the static keyword * octave.gperf: Use PERSISTENT as the token for "static" and "persistent" but use separate static_kw and persistent_kw values so we can distinguish them. * lex.ll (is_keyword_token): Handle static_kw and persistent_kw separately. Generate deprecated keyword warning for static_kw. * oct-parse.cc: Use PERSISTENT token instead of STATIC. * pt-decl.h, pt-decl.cc (tree_persistent_command): Rename from tree_static_command. Change all uses. * pt-walk.h (tree_walker::visit_persistent_command): Rename from visit_static_command. Change all derived classes. * NEWS: note that static has been deprecated.
author John W. Eaton <jwe@octave.org>
date Mon, 30 Jan 2012 23:42:41 -0500
parents 727b74f512af
children 55bb8c902a4d
comparison
equal deleted inserted replaced
14293:71a198cca35b 14294:9e3983c8963c
20 20
21 The following functions have been deprecated in Octave 3.8 and will 21 The following functions have been deprecated in Octave 3.8 and will
22 be removed from Octave 3.12 (or whatever version is the second major 22 be removed from Octave 3.12 (or whatever version is the second major
23 release after 3.8): 23 release after 3.8):
24 24
25 <none yet>
26
27 The following keywords have been deprecated in Octave 3.8 and will
28 be removed from Octave 3.12 (or whatever version is the second major
29 release after 3.8):
30
31 static
25 32
26 33
27 Summary of important user-visible changes for version 3.6: 34 Summary of important user-visible changes for version 3.6:
28 --------------------------------------------------------- 35 ---------------------------------------------------------
29 36