diff src/pt-select.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 e5c752231985
line wrap: on
line diff
--- a/src/pt-select.cc
+++ b/src/pt-select.cc
@@ -47,11 +47,11 @@
 
 tree_if_clause *
 tree_if_clause::dup (symbol_table::scope_id scope,
-		     symbol_table::context_id context) const
+                     symbol_table::context_id context) const
 {
   return new tree_if_clause (expr ? expr->dup (scope, context) : 0,
-			     list ? list->dup (scope, context) : 0,
-			     lead_comm ? lead_comm->dup () : 0);
+                             list ? list->dup (scope, context) : 0,
+                             lead_comm ? lead_comm->dup () : 0);
 }
 
 void
@@ -64,7 +64,7 @@
 
 tree_if_command_list *
 tree_if_command_list::dup (symbol_table::scope_id scope,
-			   symbol_table::context_id context) const
+                           symbol_table::context_id context) const
 {
   tree_if_command_list *new_icl = new tree_if_command_list ();
 
@@ -101,7 +101,7 @@
       tree_if_clause *elt = list->front ();
 
       if (elt)
-	elt->set_breakpoint ();
+        elt->set_breakpoint ();
     }
 }
 
@@ -113,18 +113,18 @@
       tree_if_clause *elt = list->front ();
 
       if (elt)
-	elt->set_breakpoint ();
+        elt->set_breakpoint ();
     }
 }
 
 tree_command *
 tree_if_command::dup (symbol_table::scope_id scope,
-		      symbol_table::context_id context) const
+                      symbol_table::context_id context) const
 {
   return new tree_if_command (list ? list->dup (scope, context) : 0,
-			      lead_comm ? lead_comm->dup () : 0,
-			      trail_comm ? trail_comm->dup () : 0,
-			      line (), column ());
+                              lead_comm ? lead_comm->dup () : 0,
+                              trail_comm ? trail_comm->dup () : 0,
+                              line (), column ());
 }
 
 void
@@ -151,31 +151,31 @@
   if (! error_state && label_value.is_defined() )
     {
       if (label_value.is_cell ())
-	{
-	  Cell cell (label_value.cell_value ());
+        {
+          Cell cell (label_value.cell_value ());
 
-	  for (octave_idx_type i = 0; i < cell.rows (); i++)
-	    {
-	      for (octave_idx_type j = 0; j < cell.columns (); j++)
-		{
-		  bool match = val.is_equal (cell(i,j));
+          for (octave_idx_type i = 0; i < cell.rows (); i++)
+            {
+              for (octave_idx_type j = 0; j < cell.columns (); j++)
+                {
+                  bool match = val.is_equal (cell(i,j));
 
-		  if (error_state)
-		    return false;
-		  else if (match)
-		    return true;
-		}
-	    }
-	}
+                  if (error_state)
+                    return false;
+                  else if (match)
+                    return true;
+                }
+            }
+        }
       else
-	{
-	  bool match = val.is_equal (label_value);
+        {
+          bool match = val.is_equal (label_value);
 
-	  if (error_state)
-	    return false;
-	  else
-	    return match;
-	}
+          if (error_state)
+            return false;
+          else
+            return match;
+        }
     }
 
   return false;
@@ -183,11 +183,11 @@
 
 tree_switch_case *
 tree_switch_case::dup (symbol_table::scope_id scope,
-		       symbol_table::context_id context) const
+                       symbol_table::context_id context) const
 {
   return new tree_switch_case (label ? label->dup (scope, context) : 0,
-			       list ? list->dup (scope, context) : 0,
-			       lead_comm ? lead_comm->dup () : 0);
+                               list ? list->dup (scope, context) : 0,
+                               lead_comm ? lead_comm->dup () : 0);
 }
 
 void
@@ -200,7 +200,7 @@
 
 tree_switch_case_list *
 tree_switch_case_list::dup (symbol_table::scope_id scope,
-			    symbol_table::context_id context) const
+                            symbol_table::context_id context) const
 {
   tree_switch_case_list *new_scl = new tree_switch_case_list ();
 
@@ -238,7 +238,7 @@
       tree_switch_case *elt = list->front ();
 
       if (elt)
-	elt->set_breakpoint ();
+        elt->set_breakpoint ();
     }
 }
 
@@ -250,19 +250,19 @@
       tree_switch_case *elt = list->front ();
 
       if (elt)
-	elt->set_breakpoint ();
+        elt->set_breakpoint ();
     }
 }
 
 tree_command *
 tree_switch_command::dup (symbol_table::scope_id scope,
-			  symbol_table::context_id context) const
+                          symbol_table::context_id context) const
 {
   return new tree_switch_command (expr ? expr->dup (scope, context) : 0,
-				  list ? list->dup (scope, context) : 0,
-				  lead_comm ? lead_comm->dup () : 0,
-				  trail_comm ? trail_comm->dup () : 0,
-				  line (), column ());
+                                  list ? list->dup (scope, context) : 0,
+                                  lead_comm ? lead_comm->dup () : 0,
+                                  trail_comm ? trail_comm->dup () : 0,
+                                  line (), column ());
 }
 
 void