aboutsummaryrefslogtreecommitdiff
path: root/gas/config/loongarch-parse.y
diff options
context:
space:
mode:
Diffstat (limited to 'gas/config/loongarch-parse.y')
-rw-r--r--gas/config/loongarch-parse.y4
1 files changed, 2 insertions, 2 deletions
diff --git a/gas/config/loongarch-parse.y b/gas/config/loongarch-parse.y
index b75040c..d575748 100644
--- a/gas/config/loongarch-parse.y
+++ b/gas/config/loongarch-parse.y
@@ -42,7 +42,7 @@ is_const (struct reloc_info *info)
}
int
-loongarch_parse_expr (const char *expr,
+loongarch_parse_expr (const char *exp,
struct reloc_info *reloc_stack_top,
size_t max_reloc_num,
size_t *reloc_num,
@@ -52,7 +52,7 @@ loongarch_parse_expr (const char *expr,
struct yy_buffer_state *buffstate;
top = reloc_stack_top;
end = top + max_reloc_num;
- buffstate = yy_scan_string (expr);
+ buffstate = yy_scan_string (exp);
ret = yyparse ();
if (ret == 0)