Mercurial > hg > octave-lyh
diff src/pt-check.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-check.cc +++ b/src/pt-check.cc @@ -40,10 +40,10 @@ tree_expression *elt = *p++; if (elt) - { - if (do_lvalue_check && ! elt->lvalue_ok ()) - gripe ("invalid lvalue in multiple assignment", elt->line ()); - } + { + if (do_lvalue_check && ! elt->lvalue_ok ()) + gripe ("invalid lvalue in multiple assignment", elt->line ()); + } } } @@ -135,7 +135,7 @@ tree_decl_elt *elt = *p++; if (elt) - elt->accept (*this); + elt->accept (*this); } } @@ -147,7 +147,7 @@ if (lhs) { if (! lhs->lvalue_ok ()) - gripe ("invalid lvalue in for command", cmd.line ()); + gripe ("invalid lvalue in for command", cmd.line ()); } tree_expression *expr = cmd.control_expr (); @@ -171,8 +171,8 @@ int len = lhs->length (); if (len == 0 || len > 2) - gripe ("invalid number of output arguments in for command", - cmd.line ()); + gripe ("invalid number of output arguments in for command", + cmd.line ()); do_lvalue_check = true; @@ -259,7 +259,7 @@ tree_if_clause *elt = *p++; if (elt) - elt->accept (*this); + elt->accept (*this); } } @@ -280,7 +280,7 @@ tree_argument_list *elt = *p++; if (elt) - elt->accept (*this); + elt->accept (*this); } } @@ -294,7 +294,7 @@ tree_argument_list *elt = *p++; if (elt) - elt->accept (*this); + elt->accept (*this); } } @@ -308,7 +308,7 @@ tree_argument_list *elt = *p++; if (elt) - elt->accept (*this); + elt->accept (*this); } } @@ -362,7 +362,7 @@ tree_decl_elt *elt = *p++; if (elt) - elt->accept (*this); + elt->accept (*this); } } @@ -399,7 +399,7 @@ tree_index_expression *elt = *p++; if (elt) - elt->accept (*this); + elt->accept (*this); } } @@ -411,7 +411,7 @@ if (lhs) { if (! lhs->lvalue_ok ()) - gripe ("invalid lvalue in assignment", expr.line ()); + gripe ("invalid lvalue in assignment", expr.line ()); } tree_expression *rhs = expr.right_hand_side (); @@ -432,7 +432,7 @@ tree_expression *expr = stmt.expression (); if (expr) - expr->accept (*this); + expr->accept (*this); } } @@ -444,7 +444,7 @@ tree_statement *elt = *p; if (elt) - elt->accept (*this); + elt->accept (*this); } } @@ -472,7 +472,7 @@ tree_switch_case *elt = *p++; if (elt) - elt->accept (*this); + elt->accept (*this); } }