diff src/pt-plot.cc @ 240:a99f28f5e351

[project @ 1993-11-30 20:24:36 by jwe]
author jwe
date Tue, 30 Nov 1993 20:24:36 +0000
parents b6b4d8c513fe
children d93ab6bf48d7
line wrap: on
line diff
--- a/src/pt-plot.cc	Tue Nov 30 20:24:36 1993 +0000
+++ b/src/pt-plot.cc	Tue Nov 30 20:24:36 1993 +0000
@@ -21,8 +21,8 @@
 
 */
 
-#ifdef __GNUG__
-#pragma implementation
+#ifdef HAVE_CONFIG_H
+#include "config.h"
 #endif
 
 #include <iostream.h>
@@ -425,7 +425,7 @@
       tree_constant lower_val = lower->eval (0);
       if (error_state)
 	{
-	  error ("evaluating lower bound of plot range");
+	  ::error ("evaluating lower bound of plot range");
 	  return;
 	}
       else
@@ -442,7 +442,7 @@
       tree_constant upper_val = upper->eval (0);
       if (error_state)
 	{
-	  error ("evaluating upper bound of plot range");
+	  ::error ("evaluating upper bound of plot range");
 	  return;
 	}
       else
@@ -519,7 +519,7 @@
 	  tree_constant tmp = x[i]->eval (0);
 	  if (error_state)
 	    {
-	      error ("evaluating plot using command");
+	      ::error ("evaluating plot using command");
 	      return -1;
 	    }
 
@@ -536,7 +536,7 @@
 
 	      if (n > n_max || n < 1)
 		{
-		  error ("using: column %d out of range", n); 
+		  ::error ("using: column %d out of range", n); 
 		  return -1;
 		}
 	      else
@@ -614,7 +614,7 @@
 	    }
 	  else
 	    {
-	      error ("evaluating plot style command");
+	      ::error ("evaluating plot style command");
 	      return -1;
 	    }
 	}
@@ -629,7 +629,7 @@
 	    }
 	  else
 	    {
-	      error ("evaluating plot style command");
+	      ::error ("evaluating plot style command");
 	      return -1;
 	    }
 	}