Mercurial > hg > octave-lyh
comparison src/pt-colon.cc @ 5861:2a6cb4ed8f1e
[project @ 2006-06-16 05:09:41 by jwe]
author | jwe |
---|---|
date | Fri, 16 Jun 2006 05:09:42 +0000 |
parents | cae8081f90f2 |
children | 93c65f2a5668 |
comparison
equal
deleted
inserted
replaced
5860:b645066d40ad | 5861:2a6cb4ed8f1e |
---|---|
207 : (op_increment ? op_increment->column () | 207 : (op_increment ? op_increment->column () |
208 : (op_limit ? op_limit->column () | 208 : (op_limit ? op_limit->column () |
209 : -1))); | 209 : -1))); |
210 } | 210 } |
211 | 211 |
212 tree_expression * | |
213 tree_colon_expression::dup (symbol_table *sym_tab) | |
214 { | |
215 tree_colon_expression *new_ce | |
216 = new tree_colon_expression (op_base ? op_base->dup (sym_tab) : 0, | |
217 op_limit ? op_limit->dup (sym_tab) : 0, | |
218 op_increment ? op_increment->dup (sym_tab) : 0, | |
219 line (), column ()); | |
220 | |
221 new_ce->copy_base (*new_ce); | |
222 | |
223 return new_ce; | |
224 } | |
225 | |
212 void | 226 void |
213 tree_colon_expression::accept (tree_walker& tw) | 227 tree_colon_expression::accept (tree_walker& tw) |
214 { | 228 { |
215 tw.visit_colon_expression (*this); | 229 tw.visit_colon_expression (*this); |
216 } | 230 } |