diff --git a/nemu/src/monitor/sdb/addrexp.y b/nemu/src/monitor/sdb/addrexp.y index 2b268ac..5707be3 100644 --- a/nemu/src/monitor/sdb/addrexp.y +++ b/nemu/src/monitor/sdb/addrexp.y @@ -3,8 +3,8 @@ #include #include extern int yylex(void); - void yyerror(uint32_t *result, const char *s) { - fprintf(stderr, "Error: %s\n", s); + void yyerror(uint32_t *result, const char *err) { + fprintf(stderr, "Error: %s\n", err); } %}