diff --git a/nemu/src/monitor/sdb/addrexp.y b/nemu/src/monitor/sdb/addrexp.y index ea6cd94..344f141 100644 --- a/nemu/src/monitor/sdb/addrexp.y +++ b/nemu/src/monitor/sdb/addrexp.y @@ -12,7 +12,7 @@ %start input %define api.value.type { uint32_t } %parse-param { uint32_t *result } -%left '+' '-' +%left '-' '+' %left '*' '/' %%