comparison libinterp/parse-tree/lex.ll @ 18091:74dd974f7112 classdef

maint: Periodic merge of default to classdef.
author John W. Eaton <jwe@octave.org>
date Thu, 05 Dec 2013 11:52:48 -0500
parents 6762a6d23010 d48ef9e24324
children 2217bc116aa9
comparison
equal deleted inserted replaced
18045:df4e0018036a 18091:74dd974f7112
2224 case return_kw: 2224 case return_kw:
2225 case unwind_protect_cleanup_kw: 2225 case unwind_protect_cleanup_kw:
2226 at_beginning_of_statement = true; 2226 at_beginning_of_statement = true;
2227 break; 2227 break;
2228 2228
2229 case static_kw:
2230 if ((reading_fcn_file || reading_script_file
2231 || reading_classdef_file)
2232 && ! fcn_file_full_name.empty ())
2233 warning_with_id ("Octave:deprecated-keyword",
2234 "the 'static' keyword is obsolete and will be removed from a future version of Octave; please use 'persistent' instead; near line %d of file '%s'",
2235 input_line_number,
2236 fcn_file_full_name.c_str ());
2237 else
2238 warning_with_id ("Octave:deprecated-keyword",
2239 "the 'static' keyword is obsolete and will be removed from a future version of Octave; please use 'persistent' instead; near line %d",
2240 input_line_number);
2241 // fall through ...
2242
2243 case persistent_kw: 2229 case persistent_kw:
2244 case global_kw: 2230 case global_kw:
2245 looking_at_decl_list = true; 2231 looking_at_decl_list = true;
2246 break; 2232 break;
2247 2233