Mercurial > hg > octave-lyh
diff src/pt-decl.cc @ 10315:57a59eae83cc
untabify src C++ source files
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Thu, 11 Feb 2010 12:41:46 -0500 |
parents | cd96d29c5efa |
children | fd0a3ac60b0e |
line wrap: on
line diff
--- a/src/pt-decl.cc +++ b/src/pt-decl.cc @@ -58,11 +58,11 @@ octave_value init_val = expr->rvalue1 (); if (! error_state) - { - ult.assign (octave_value::op_asn_eq, init_val); + { + ult.assign (octave_value::op_asn_eq, init_val); - retval = true; - } + retval = true; + } } return retval; @@ -70,10 +70,10 @@ tree_decl_elt * tree_decl_elt::dup (symbol_table::scope_id scope, - symbol_table::context_id context) const + symbol_table::context_id context) const { return new tree_decl_elt (id ? id->dup (scope, context) : 0, - expr ? expr->dup (scope, context) : 0); + expr ? expr->dup (scope, context) : 0); } void @@ -86,7 +86,7 @@ tree_decl_init_list * tree_decl_init_list::dup (symbol_table::scope_id scope, - symbol_table::context_id context) const + symbol_table::context_id context) const { tree_decl_init_list *new_dil = new tree_decl_init_list (); @@ -117,11 +117,11 @@ tree_command * tree_global_command::dup (symbol_table::scope_id scope, - symbol_table::context_id context) const + symbol_table::context_id context) const { return new tree_global_command (init_list ? init_list->dup (scope, context) : 0, - line (), column ()); + line (), column ()); } void @@ -134,11 +134,11 @@ tree_command * tree_static_command::dup (symbol_table::scope_id scope, - symbol_table::context_id context) const + symbol_table::context_id context) const { return new tree_static_command (init_list ? init_list->dup (scope, context) : 0, - line (), column ()); + line (), column ()); } void