diff src/lex.l @ 3561:0345dd2a826f

[project @ 2000-02-03 05:38:06 by jwe]
author jwe
date Thu, 03 Feb 2000 05:38:07 +0000
parents 0ff7323dab8b
children 4290f11c8d3b
line wrap: on
line diff
--- a/src/lex.l	Thu Feb 03 05:28:17 2000 +0000
+++ b/src/lex.l	Thu Feb 03 05:38:07 2000 +0000
@@ -901,7 +901,7 @@
 {
   std::string retval;
 
-  static char *plot_axes[] = 
+  static const char *plot_axes[] = 
     {
       "x1y1",
       "x1y2",
@@ -910,7 +910,7 @@
       0,
     };
 
-  char **tmp = plot_axes;
+  const char **tmp = plot_axes;
   while (*tmp)
     {
       if (almost_match (*tmp, s.c_str ()))