diff options
Diffstat (limited to 'gdb/rust-exp.y')
-rw-r--r-- | gdb/rust-exp.y | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/rust-exp.y b/gdb/rust-exp.y index b3e0366..64b7c55 100644 --- a/gdb/rust-exp.y +++ b/gdb/rust-exp.y @@ -2471,7 +2471,7 @@ rust_parse (struct parser_state *state) /* The parser error handler. */ void -rustyyerror (char *msg) +rustyyerror (const char *msg) { const char *where = prev_lexptr ? prev_lexptr : lexptr; error (_("%s in expression, near `%s'."), (msg ? msg : "Error"), where); |