Make two cp-name-parser.y constants "const"
[deliverable/binutils-gdb.git] / gdb / cp-name-parser.y
index 169a92df6a785f7f6908bc8e6f7c8001e2ca790d..b8a3faa3df8849cfdb9e5ea1d921465b9698648a 100644 (file)
@@ -1396,8 +1396,8 @@ parse_number (cpname_state *state, const char *p, int len, int parsed_float,
    return INT;
 }
 
-static char backslashable[] = "abefnrtv";
-static char represented[] = "\a\b\e\f\n\r\t\v";
+static const char backslashable[] = "abefnrtv";
+static const char represented[] = "\a\b\e\f\n\r\t\v";
 
 /* Translate the backslash the way we would in the host character set.  */
 static int
This page took 0.024159 seconds and 4 git commands to generate.