Mercurial > hg > octave-lojdl
comparison src/pt-jump.h @ 8913:35cd375d4bb3
make tree::dup functions const
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Thu, 05 Mar 2009 13:50:25 -0500 |
parents | 73c4516fae10 |
children | eb63fbe60fab |
comparison
equal
deleted
inserted
replaced
8912:57c3155754d6 | 8913:35cd375d4bb3 |
---|---|
39 : tree_command (l, c) { } | 39 : tree_command (l, c) { } |
40 | 40 |
41 ~tree_break_command (void) { } | 41 ~tree_break_command (void) { } |
42 | 42 |
43 tree_command *dup (symbol_table::scope_id scope, | 43 tree_command *dup (symbol_table::scope_id scope, |
44 symbol_table::context_id context); | 44 symbol_table::context_id context) const; |
45 | 45 |
46 void accept (tree_walker& tw); | 46 void accept (tree_walker& tw); |
47 | 47 |
48 static int breaking; | 48 static int breaking; |
49 | 49 |
67 : tree_command (l, c) { } | 67 : tree_command (l, c) { } |
68 | 68 |
69 ~tree_continue_command (void) { } | 69 ~tree_continue_command (void) { } |
70 | 70 |
71 tree_command *dup (symbol_table::scope_id scope, | 71 tree_command *dup (symbol_table::scope_id scope, |
72 symbol_table::context_id context); | 72 symbol_table::context_id context) const; |
73 | 73 |
74 void accept (tree_walker& tw); | 74 void accept (tree_walker& tw); |
75 | 75 |
76 static int continuing; | 76 static int continuing; |
77 | 77 |
95 : tree_command (l, c) { } | 95 : tree_command (l, c) { } |
96 | 96 |
97 ~tree_return_command (void) { } | 97 ~tree_return_command (void) { } |
98 | 98 |
99 tree_command *dup (symbol_table::scope_id scope, | 99 tree_command *dup (symbol_table::scope_id scope, |
100 symbol_table::context_id context); | 100 symbol_table::context_id context) const; |
101 | 101 |
102 void accept (tree_walker& tw); | 102 void accept (tree_walker& tw); |
103 | 103 |
104 static int returning; | 104 static int returning; |
105 | 105 |