aboutsummaryrefslogtreecommitdiff
path: root/gdb/p-exp.y
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/p-exp.y')
-rw-r--r--gdb/p-exp.y6
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/p-exp.y b/gdb/p-exp.y
index 5911d8d..81eb216 100644
--- a/gdb/p-exp.y
+++ b/gdb/p-exp.y
@@ -72,7 +72,7 @@ int yyparse (void);
static int yylex (void);
-void yyerror (char *);
+void yyerror (const char *);
static char *uptok (const char *, int);
%}
@@ -1047,7 +1047,7 @@ pop_current_type (void)
struct token
{
- char *oper;
+ const char *oper;
int token;
enum exp_opcode opcode;
};
@@ -1714,7 +1714,7 @@ pascal_parse (struct parser_state *par_state)
}
void
-yyerror (char *msg)
+yyerror (const char *msg)
{
if (prev_lexptr)
lexptr = prev_lexptr;