annotate scripts/deprecated/unmark_command.m @ 11523:fd0a3ac60b0e

update copyright notices
author John W. Eaton <jwe@octave.org>
date Fri, 14 Jan 2011 05:47:45 -0500
parents 5dd06f19e9be
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
11523
fd0a3ac60b0e update copyright notices
John W. Eaton <jwe@octave.org>
parents: 8746
diff changeset
1 ## Copyright (C) 2009-2011 John W. Eaton
8746
5dd06f19e9be handle commands in the lexer
John W. Eaton <jwe@octave.org>
parents:
diff changeset
2 ##
5dd06f19e9be handle commands in the lexer
John W. Eaton <jwe@octave.org>
parents:
diff changeset
3 ## This file is part of Octave.
5dd06f19e9be handle commands in the lexer
John W. Eaton <jwe@octave.org>
parents:
diff changeset
4 ##
5dd06f19e9be handle commands in the lexer
John W. Eaton <jwe@octave.org>
parents:
diff changeset
5 ## Octave is free software; you can redistribute it and/or modify it
5dd06f19e9be handle commands in the lexer
John W. Eaton <jwe@octave.org>
parents:
diff changeset
6 ## under the terms of the GNU General Public License as published by
5dd06f19e9be handle commands in the lexer
John W. Eaton <jwe@octave.org>
parents:
diff changeset
7 ## the Free Software Foundation; either version 3 of the License, or (at
5dd06f19e9be handle commands in the lexer
John W. Eaton <jwe@octave.org>
parents:
diff changeset
8 ## your option) any later version.
5dd06f19e9be handle commands in the lexer
John W. Eaton <jwe@octave.org>
parents:
diff changeset
9 ##
5dd06f19e9be handle commands in the lexer
John W. Eaton <jwe@octave.org>
parents:
diff changeset
10 ## Octave is distributed in the hope that it will be useful, but
5dd06f19e9be handle commands in the lexer
John W. Eaton <jwe@octave.org>
parents:
diff changeset
11 ## WITHOUT ANY WARRANTY; without even the implied warranty of
5dd06f19e9be handle commands in the lexer
John W. Eaton <jwe@octave.org>
parents:
diff changeset
12 ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
5dd06f19e9be handle commands in the lexer
John W. Eaton <jwe@octave.org>
parents:
diff changeset
13 ## General Public License for more details.
5dd06f19e9be handle commands in the lexer
John W. Eaton <jwe@octave.org>
parents:
diff changeset
14 ##
5dd06f19e9be handle commands in the lexer
John W. Eaton <jwe@octave.org>
parents:
diff changeset
15 ## You should have received a copy of the GNU General Public License
5dd06f19e9be handle commands in the lexer
John W. Eaton <jwe@octave.org>
parents:
diff changeset
16 ## along with Octave; see the file COPYING. If not, see
5dd06f19e9be handle commands in the lexer
John W. Eaton <jwe@octave.org>
parents:
diff changeset
17 ## <http://www.gnu.org/licenses/>.
5dd06f19e9be handle commands in the lexer
John W. Eaton <jwe@octave.org>
parents:
diff changeset
18
5dd06f19e9be handle commands in the lexer
John W. Eaton <jwe@octave.org>
parents:
diff changeset
19 ## -*- texinfo -*-
5dd06f19e9be handle commands in the lexer
John W. Eaton <jwe@octave.org>
parents:
diff changeset
20 ## @deftypefn {Built-in Function} {} unmark_command (@var{name})
5dd06f19e9be handle commands in the lexer
John W. Eaton <jwe@octave.org>
parents:
diff changeset
21 ## This function is obsolete and will be removed from a future
5dd06f19e9be handle commands in the lexer
John W. Eaton <jwe@octave.org>
parents:
diff changeset
22 ## version of Octave.
5dd06f19e9be handle commands in the lexer
John W. Eaton <jwe@octave.org>
parents:
diff changeset
23 ## @end deftypefn
5dd06f19e9be handle commands in the lexer
John W. Eaton <jwe@octave.org>
parents:
diff changeset
24
5dd06f19e9be handle commands in the lexer
John W. Eaton <jwe@octave.org>
parents:
diff changeset
25 ## Author: jwe
5dd06f19e9be handle commands in the lexer
John W. Eaton <jwe@octave.org>
parents:
diff changeset
26
5dd06f19e9be handle commands in the lexer
John W. Eaton <jwe@octave.org>
parents:
diff changeset
27 ## Deprecated in version 3.2
5dd06f19e9be handle commands in the lexer
John W. Eaton <jwe@octave.org>
parents:
diff changeset
28
5dd06f19e9be handle commands in the lexer
John W. Eaton <jwe@octave.org>
parents:
diff changeset
29 function unmark_command ()
5dd06f19e9be handle commands in the lexer
John W. Eaton <jwe@octave.org>
parents:
diff changeset
30
5dd06f19e9be handle commands in the lexer
John W. Eaton <jwe@octave.org>
parents:
diff changeset
31 persistent warned = false;
5dd06f19e9be handle commands in the lexer
John W. Eaton <jwe@octave.org>
parents:
diff changeset
32 if (! warned)
5dd06f19e9be handle commands in the lexer
John W. Eaton <jwe@octave.org>
parents:
diff changeset
33 warned = true;
5dd06f19e9be handle commands in the lexer
John W. Eaton <jwe@octave.org>
parents:
diff changeset
34 warning ("Octave:deprecated-function",
5dd06f19e9be handle commands in the lexer
John W. Eaton <jwe@octave.org>
parents:
diff changeset
35 "unmark_command is obsolete and will be removed from a future version of Octave");
5dd06f19e9be handle commands in the lexer
John W. Eaton <jwe@octave.org>
parents:
diff changeset
36 endif
5dd06f19e9be handle commands in the lexer
John W. Eaton <jwe@octave.org>
parents:
diff changeset
37
5dd06f19e9be handle commands in the lexer
John W. Eaton <jwe@octave.org>
parents:
diff changeset
38 endfunction