494
|
1 /* |
|
2 |
7017
|
3 Copyright (C) 1994, 1995, 1996, 1997, 2002, 2004, 2005, 2006, 2007 |
|
4 John W. Eaton |
494
|
5 |
|
6 This file is part of Octave. |
|
7 |
|
8 Octave is free software; you can redistribute it and/or modify it |
|
9 under the terms of the GNU General Public License as published by the |
7016
|
10 Free Software Foundation; either version 3 of the License, or (at your |
|
11 option) any later version. |
494
|
12 |
|
13 Octave is distributed in the hope that it will be useful, but WITHOUT |
|
14 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
|
15 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
|
16 for more details. |
|
17 |
|
18 You should have received a copy of the GNU General Public License |
7016
|
19 along with Octave; see the file COPYING. If not, see |
|
20 <http://www.gnu.org/licenses/>. |
494
|
21 |
|
22 */ |
|
23 |
|
24 #ifdef HAVE_CONFIG_H |
1192
|
25 #include <config.h> |
494
|
26 #endif |
|
27 |
2956
|
28 #include "pt-cmd.h" |
2124
|
29 #include "pt-walk.h" |
916
|
30 |
2620
|
31 // No-op. |
|
32 |
5861
|
33 tree_command * |
7336
|
34 tree_no_op_command::dup (symbol_table::scope_id) |
5861
|
35 { |
|
36 return new tree_no_op_command (orig_cmd, line (), column ()); |
|
37 } |
|
38 |
2620
|
39 void |
|
40 tree_no_op_command::accept (tree_walker& tw) |
|
41 { |
|
42 tw.visit_no_op_command (*this); |
|
43 } |
|
44 |
494
|
45 /* |
|
46 ;;; Local Variables: *** |
|
47 ;;; mode: C++ *** |
|
48 ;;; End: *** |
|
49 */ |