aboutsummaryrefslogtreecommitdiff
path: root/gas/config/tc-rx.c
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2009-12-14 10:59:37 +0000
committerNick Clifton <nickc@redhat.com>2009-12-14 10:59:37 +0000
commit34ab888845310822b46b6a37ed5fe7e954bdc848 (patch)
tree9634266b5b54690ba5b517e68eda0528021438db /gas/config/tc-rx.c
parentc7d6f51805ec1c4d479cfcfda666dc91b2459d13 (diff)
downloadgdb-34ab888845310822b46b6a37ed5fe7e954bdc848.zip
gdb-34ab888845310822b46b6a37ed5fe7e954bdc848.tar.gz
gdb-34ab888845310822b46b6a37ed5fe7e954bdc848.tar.bz2
PR gas/11089
* config/tc-rx.c (rx_equ): Rename 'expr' to 'expression' in order to avoid shadowing a global symbol of the same name.
Diffstat (limited to 'gas/config/tc-rx.c')
-rw-r--r--gas/config/tc-rx.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gas/config/tc-rx.c b/gas/config/tc-rx.c
index f635321..3bb9a5a 100644
--- a/gas/config/tc-rx.c
+++ b/gas/config/tc-rx.c
@@ -895,7 +895,7 @@ rx_frag_init (fragS * fragP)
<symbol_name> .equ <expression> */
static void
-rx_equ (char * name, char * expr)
+rx_equ (char * name, char * expression)
{
char saved_name_end_char;
char * name_end;
@@ -912,7 +912,7 @@ rx_equ (char * name, char * expr)
* name_end = 0;
saved_ilp = input_line_pointer;
- input_line_pointer = expr;
+ input_line_pointer = expression;
equals (name, 1);